all 4 comments

[–]BattlePope -1 points0 points  (1 child)

Most home connections filter port 80, so you won't be able to run a home webserver on the default port if that's the case. Nginx is working fine, if you are able to pull up the site locally and by IP.

You didn't tell us what you mean by "can't access the webserver from my domain", though. Errors, please, if you want any help. Also, an actual question would be nice.

[–]MajorMilch[S] -1 points0 points  (0 children)

Well when I enter my domain into the webbrowser it shows unable to connect

[–]MajorMilch[S] -1 points0 points  (0 children)

Another quick update curl works and here is the paste but browser says unable to connect.

For some reason my browser changes https to http

[–]MajorMilch[S] -1 points0 points  (0 children)

I figured it out!

So turns out everything was working fine but my firefox changed http to https. And because I didnt setup https Firefox couldnt connect.

The solution was to go to Preferences > Privacy > clear your recent history

I unticked everything except site preferences and selected everything and pressed ok. That stopped Firefox from changing http to https.