Prettyscripts

Ubuntu server: Setup website

Copy files to destined directory. Go to /etc/apache2/sites-availabe, edit the ’site’ file. The default is ‘default‘. If creating a new site file, after creating and editing the file, run sudo a2ensite file. To disable the site, run sudo a2dissite file. After the site file is edited and saved. Run sudo service apache2 restart. Now use…

Continue Reading »