Good day. I decided to join the ranks of linuksoids. In general, the task is to install Apache and configure a virtual host. Everything seems to be simple, but there is one problem - my host for some reason points to the default folder, suggested that it’s a link, but I cannot understand what’s wrong, the site in the siteme folder is the siteme file from apache sites-available :
<VirtualHost *:80> ServerAdmin admin@siteme.com ServerName site.me ServerAlias www.site.me DocumentRoot /var/www/siteme/ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> In sites-enabled there is a link to this file with the same name, tried to delete and re-create using a2ensite . In etc/hosts
127.0.1.1 localhost site.me In general, help winduser.
sites-enableddirectory? 2. program restarted after making changes to the configuration? 3. How exactly did the program install? - aleksandr barakinsetvice apache2 reload3. If you aresetvice apache2 reloadabout Apache, thensudo apt-get install apache2- VK