Question

Installing the Apache Web Server on Ubuntu 20.04

Posted November 23, 2020 410 views
UbuntuApacheUbuntu 20.04

I have got to here in the tutorial:

Apache should now be serving your domain name. You can test this by navigating to http://your_domain, where you should see something like this: Success! The Virtual Host is working. (http://www.millerfuresh.com)

I have uploaded my website files using via FileZilla.
I have used SFTP. I have added my private key.
In Site Manager - I have selected interactive and root.
The remote site is /var/www/html/millerfuresh.com

But my updated index.html is not appearing.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

Hi there @millerfuresh,

What I could suggest is setting the remote directory to /var/www/ instead of /var/www/html/millerfuresh.com.

That way you will be able to browse all of the files and folders at the /var/www directory and possibly find the correct one. As according to the tutorial the document root for your domain should be /var/www/millerfuresh.com rather than /var/www/html/millerfuresh.com.

Let me know how it goes.
Regards,
Bobby

Hi @millerfuresh,

Are you sure you’ve uploaded the index.html in the proper folder. The folder that you’ve selected when creating the VirtualHost?

Another thing might be DNS, are you sure the domain you are using is loading from the droplet you have with DigitalOcean?

If you are unsure of any of these, firstly post your VirtualHost file for your domain millerfuresh.com so that we can see if everything is loading alright.

As for the DNS, what you can try is using a website to check your DNS - DNS Checker_

Regards,
KFSys