digital ocean virtual host steps
apt-get update
sudo mkdir -p /var/www/html/
chmod -R 755 /var/www
nano /var/www/html/
sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
Enable the New Virtual Host Files
sudo a2ensite example.conf
Note: godaddy default ip

sudo a2dissite sitename
sudo /etc/init.d/apache2 reload
sudo rm /etc/apache2/sites-available/sitename
mkdir -p var/www/html/
cp etc/apache2/sites-available/ etc/apache2/sites-available/
nano etc/apache2/sites-available/
and change

Or from ftp
copy files in var/www/html/www.sitename/public_html
create and edit etc/apache2/sites-available/
sudo a2dissite sitename
service apache2 reload