-
Ubuntu under Apache Virtual Host configuration Enable site deactivation site method A2ensite/a2dissite such as adding a ecshop virtual machine first to/etc/apache2/site-available/ Set up a file in the directory Ecshop and add <virtualhost *:80>servername www.ecshop.comServerAdmin [email protected]documentroot "/var/www/ecshop/" errorlog "/var/log/apache2/ecshop_errors.log" Customlog "/var/log/apache2/ecshop_accesses.log" Common </VirtualHost> then execute the command sudo a2ensite esshop this way, the virtual host site ecshop.com is already installed. You can be in/etc/apache2/ A ecshop soft connection is found in the sites-enabled/directory and then restarted apache/etc/init.d/apache2 Restart then modifies the hosts file vi/etc/hosts so that you should be able to access the last point off The issue of PHP and MySQL interconnection generally needs to install this apt-get install Php5-mysql libapache2-mod-auth-mysql
Ubuntu Configuration Virtual Host