Author Topic: NAT IP (Amazon) issues  (Read 4555 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
NAT IP (Amazon) issues
« on: September 21, 2020, 05:42:30 PM »
Hello

I built a new instance in Amazon and installed CWP PRO.
For some reason, the fresh installation take the "private" IP of Amazon as "Default Server IP" (NOT as shared IP that i have the correct one.

So, the configuration is :

NS1: ns1.mydomain.com | IP:1.1.1.1 (the public IP and is correct)
NS2: ns2.mydomain.com | IP:1.1.1.1 
Server IP: 2.2.2.2 | aws.mydomain.com (the private IP and is NOT correct)
Shared IP: 1.1.1.1 (correct)
Hostname: aws.mydomain.com

The hostname is correctly set pointing to the same shared IP and resolves OK.
The nameservers too.

Each time I login i get this error :

Quote
WARNING! Possible NAT networking detected, Please check the following settings.
EDIT NAT SETTINGS


Then, i go to that link --> "CWP Settings" --> "Edit settings"
And i get :

Quote
hared IP:
Shared IP : 1.1.1.1
default: 2.2.2.2
Apache port: 8181  (is set with Nginx, but i tried also using only apache and the same happens)
Admin Email: my@email.com
NAT Local IP: NOTHING (and the dropdown menu not show anything)
when using private network you need to have private IP in the config files

DISABLED Activate NAT-ed Network Configuration (---> i canīt check this and i canīt do anything here)

The real issue (and i think is all for this NAT configuration) is that I have 2 sites hosted for now, and both sites show the default index.html page and not the correct content.

I checked the Apache conf of each domain, the path is perfect, the IP is perfect, all is perfect, but still opening the defalut page.

THEN...

1 - someboy can help me to re configure the NAT settings to put the private Amazon IP as NAT and the default server IP and shared IP with the same?
2 - the default index.html will be fixed with the nat configuration? or i need to change anything?

Iīm with this issue since more of 3 days ago, searching in google and many places, (i have knowledge with Centos, and linux commands)

NOTHING WORKS

I not want to reinstall everything again.. that wil be only solution??

Thanks for any help
Fabian


Offline
*
Re: NAT IP (Amazon) issues
« Reply #1 on: September 22, 2020, 08:41:46 AM »
http://wiki.centos-webpanel.com/default-page-displayed-for-all-domains
You need to be sure that each ip you entered there is correct or else you will have issues.

Also you have a support services on the cwp website.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.