Hello,
I followed every steps from tutorial https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04#step-3-–-checking-your-web-server
I added dns to my domain provider,
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.
I have the same issue my domain reply but not open the web page , my setup is nginx and mariadb and wordpress any help please
Hi @choipaper,
There are a couple of things you’ll need to check. Make sure you have created a configuration file for your domain mydomain.com in the /etc/nginx/sites-available/mydomain.com.
In there make sure you have the proper server block like so
Notice that you’ll need to change
and
To the proper path and domain respectfully.
Once you have updated your configuration file, make sure to run
Again, remember to change your mydomain.com with the actual domain.
Lastly, check your Nginx configuration with
If everything is okay restart nginx and everything should start working
Regards, KDSys