virtual host on ubuntu

1- copy file from old one sudo cp /etc/apache2/sites-available/oldwebsite.com.conf /etc/apache2/sites-available/newwebsite.com.conf 2- edit it and replace all oldwebsite to new website and change the path sudo gedit /etc/apache2/sites-available/newwebsite.com.conf 3- enable it sudo a2ensite newsite.com.conf 4- restart apache sudo service apache2 restart 5- sudo gedit /etc/hosts you know what will you do . Right ? example of… Continue reading virtual host on ubuntu