Page 1 of 1

How to access my IP's folder after including a domain name?

Posted: Mon Dec 21, 2015 5:59 pm
by 7777777
When installed vestacp (with nginx) I could access my IP's folder

Now I added a domain name working fine, but when access the IP address it goes to that domain name

which nginx files to edit to make work again the IP folder? thanks in advance

Re: How to access my IP's folder after including a domain name?

Posted: Thu Apr 14, 2016 7:18 am
by BBuchanan1013
7777777 wrote:When installed vestacp (with nginx) I could access my IP's folder

Now I added a domain name working fine, but when access the IP address it goes to that domain name

which nginx files to edit to make work again the IP folder? thanks in advance
you can add your ip address as a web domain or you can add your ip under a domain as an a record.

Re: How to access my IP's folder after including a domain name?

Posted: Thu Apr 21, 2016 9:00 am
by tjebbeke
http://nginx.org/en/docs/http/request_p ... rver_names

Code: Select all

server {
    listen      80;
    server_name "";
    return      444;
}