
June 27th, 2012, 01:06 AM
|
|
|
Quote: | Originally Posted by treverk I guess I just need a better understanding of DNS, here is my question.
SO, we have a main webserver (lets call it server-A) with 2 name servers running DNS01 DNS02. We currently host multiple sites on that server and I've never had issues getting websites up.
Now, I have a completely different server that is hosting a wrodpress site (server-B) that has a private IP (our 10. network).
DO i create a record on sever-A that points to the public IP I want to use for the wordpress site and route that via our sonicwall router to server-B?
Do I need to setup DNS on server-B? I don't think thats right since the company alreay has DNS01 and DNS02 setup. I just havn't developed anything off that main server and I'm a bit confused. |
I assume that Server-A sits on the public network with a public address, and Server-B sits on a private network behind a NAT router. The hosting server (Server-A?) for Server-B must be set to point to the public address of the NAT router, and the NAT router must be set to forward the ports in question (port 80?) to Server-B. This will work for anyone connecting to Server-B from the public internet, but further steps must be taken to access the server from the internal private network. The easiest way is to use the HOSTS file.
J.A. Coutts
|