By patrickb
Hello, I am new to the Ubuntu world and have been following the article, https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04 however I have run into a bit of a problem! I have got to the end of step 5 and all I am getting is the default Nginx page, not what I have typed in the html block. I have it it again on a fresh ubuntu install and got the same issue. what have I done wrong!?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @patrickb,
Can you please post the Nginx configuration file for the domain you are using? Additionally please let us know the path to the file you are posting so that we know everything looks alright.
As soon as we have the Nginx configuration file for your domain, we should be able to take a look at the way you’ve configured it and see if everything is done properly or needs to be changed a bit.
Regards, KFSys
Thanks @KFSys ,
Don’t know what was the issue, it wasn’t in sites-enabled, and there was an issue with certbot adding info to the wrong block.
So I have wiped it all and started again, for the 4th or 5th time…and it has worked!!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.