We have 2 internet IP using different router: router A (LAN IP: 192.168.1.1) router B (192.168.2.1)
from beginning i'm install ISPConfig 3 using
nginx and ubuntu 12.04LTS (server got 2 NIC, eth0 is 192.168.2.x, and eth1 is 192.168.1.x) so ISPconfig address will be
https://192.168.2.x:8080 and the internet IP for all website will be served by router B
now i wanna change all the website to router A's internet IP, already add new IP (router A internet IP) @ ISPConfig => System => Server IP addresses. and then go to Sites => website => change all websites V4 IP to the new added IP. then reboot server (do we need to reboot server or just restart nginx?)
after reboot check back @
vim /etc/nginx/sites-available/domain.vhost
it's look like OK
Code:
server {
listen new_internet_IP:80;
server_name domain.com;
root /var/www/domain.com/web;
...
but when i go for domain domain.com it's just show the
Welcome to nginx! i'm sure that the
root /var/www/domain.com/web; is correct! Why nginx did not point mine domain to the proper path?
P/S: domain already change IP address using 3rd DNS service, i'm also ping this domain, it's return the new IP so not DNS problem too!
Do i miss sth important for changing websites IP?
Many Thanks and Best Regards.
Recent comments
22 hours 33 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 4 hours ago
1 day 5 hours ago
1 day 7 hours ago
1 day 8 hours ago
2 days 24 min ago
2 days 1 hour ago
2 days 4 hours ago