Welcome to NGinx page after clean install and site setup


#1

Hi,

I just installed Easy Engine and setup a site with sudo ee site create domainname.com --wpsc on a clean Ubuntu setup. I just wiped the whole server because I thought I had messed up my Easy Engine install but the same problem happens again.

I have forwarded port 80 and 443 to the local IP on my router.

When I go to the local IP (192.168.1.58, I just get the “Welcome to NGinx” page. And going to 192.168.1.58/wp-admin/ gives me a 404.

When I check /var/log/nginx/access.log I get this:

192.168.1.39 - - [20/Sep/2015:15:19:11 +0200] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/600.8.9 (KHTML, like Gecko) Version/8.0.8 Safari/600.8.9"
192.168.1.39 - - [20/Sep/2015:15:45:41 +0200] "GET / HTTP/1.1" 200 509 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/600.8.9 (KHTML, like Gecko) Version/8.0.8 Safari/600.8.9"

/var/log/nginx/error.log is empty and so are domain.com.access.log and domain.com.error.log.

I’m not sure what’s going on. And again this is a clean install - with nothing installed except for the basic Ubuntu Server setup. Am I missing something. I have followed all steps described as far as I know.

Anyone EE experts who might know how to fix this?


#2

@abn

You should add entry in your local system to visit a site created with EasyEngine.

Append x.x.x.x domainname.com in /etc/hosts file so that you can access your site.


#3

Thanks! Works perfectly. Maybe this should be added to the FAQ.

Thanks again!


#4

Hello abn

Glad to know that your issue have been resolved.

I am closing this issue for now. Feel free to create a new support topic if you have any queries further. :slight_smile:


#5