go to /etc/apache2/sites-available/
nano sitename.conf
copy-
<VirutalHost *:80>
ServerName example.com
DocumentRoot /var/www/html/xxxx
</VirtualHost>
sudo a2ensite sitename
reload apache2
No comments:
Post a Comment