luminous

Member
Apr 3, 2011
10
0
51
We have a fully operational server hosting around 100 websites. The server is in our own offices on a leased line.

The issue we have run into is that an installation of Infinite Wordpress cannot gain access to the other websites that are on the server. Examining the issue we can see that when IWP attempts to access the other websites we host it attempts to make a connection via the server's external IP address rather than its internal address.

The server has been setup to use our external IP address. Is this correct, and is this the cause of the issue?

We have considered trying to add some custom rules into the router to try and direct this traffic back internally, but this is proving to be difficult to achieve.

IWP did use to work, it has only been since we changed our router that we have started to have an issue. We are wondering if the server is not correctly setup as we believe we should not have to setup NAT handbraking to make this work.

Any advice will be appreciated.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
HI @luminous

In this instance there isn't a lot of diagnosing of your issue we'd be able to do, none of the issues seem to be related to cPanel. If the issue is that the sites aren't reachable through the external IP address this would be a NAT routing issue - if it's an issue with InfiniteWP I would suggest that you contact them directly: https://infinitewp.com/

Because it worked prior to changing the router - without knowing much of your network configuration I would assume the issue is some configuration of the network that is different. This is something that would be best suited for a qualified network/system administrator - if you don't have one you might find one here: System Administration Services | cPanel Forums

Thanks!
 

luminous

Member
Apr 3, 2011
10
0
51
Thanks, you were correct it was a networking issue. We have been getting support from the other providers but it was proving difficult to track down the issue. Hence, we were wondering if there was an alternative way around solving the problem
 

luminous

Member
Apr 3, 2011
10
0
51
We have run a cPanel server for a long time, but have never had to fiddle around with the DNS zones or entries.....until we got a new router a Ubiquti Security Gateway Pro 4. Before someone suggests it we are unable to go back to the old router (Draytek 3900).

The main issue we have is that the USG is not that great at performing hairpin NAT. We can set it up successfully, but we are left with one specific issue we need some help with.

Our server has (example addresses):
  • external IP address of 50.50.50.14
  • internal IP address of 192.168.21.1 - VLAN 21
We run Infinite Wordpress on the server, and for this to work the server must see the websites it is hosting. When IWP attempts to contact the other sites on the server instead of it attempting to make a connection via 192.168.21.1 it does so via 50.50.50.14.

Unfortunately, we are unable to reflect this traffic back to the server. Attempts to do so have so far failed as any rules we input affect all webserver traffic, and would therefore prevent any NAT hairpinning working for other VLANs (which are currently setup and working fine).

We therefore want to see if we can setup the webserver so that if traffic needs to flow between its own sites it does not go via the external IP address.

We have tried a few basic things, but attempts have failed to produce the desired results. In short we are not entirely sure how to get started with this. We have 50+ websites and we would not like to have to manually configure each new site we make to host on the server.

In the server's basic setup area we have the server setup to use its external IP address. Before we start playing with a live environment (yes we have backups and replications of the server) we have come for a little advice as how best to start this process.