Uncategorized

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 ?
Uncategorized

come back to my lovely blog again

today I decided to come back to my blog again . my main problem now  is organizing my thoughts . any way I will do my best . now I have more to say which I hope it will be useful for some people . also I hope to add new category about laravel framework . I hop e it will be a daily blogs for month from now even it’s only contain few words .