Can't reach website anymore, only "Welcome to nginx!" page comes up.
I am using Nginx to run my website on Ubuntu 14.04. I just got it setup a few days ago. Everything was working fine until my router ended up changing my IP address on my Ubuntu server last night. I didn’t known my server was setup with the DHCP protocol, I thought it was static. When my website wouldn’t come up this morning I determined the problem to be the new IP address. I still have a problem though. When I access my server with the new IP address I now get the “Welcome to nginx!” page. My website won’t come up anymore. The only thing that changed was the IP address. I have since programmed my router to reserve the new IP address for my server so that it won’t change again. I also changed my port forwarding IP on my router to use the new IP address so that when my DNS uses my public IP to locate my router it will be forwarded to my server. The thing that makes no since is that the new IP address just brings up the “Welcome to nginx!” page and not my website. All of my files are still in place and nothing else changed. Does anyone have any idea what happened?
Thanks in advance for any advice.
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.