DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 26th, 2012, 01:38 PM
treverk treverk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 1 treverk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 14 sec
Reputation Power: 0
DNS - seperate web server

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.

Reply With Quote
  #2  
Old June 26th, 2012, 02:11 PM
kicken's Avatar
kicken kicken is offline
Wiser? Not exactly.
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: May 2001
Location: Bonita Springs, FL
Posts: 5,654 kicken User rank is General 37th Grade (Above 100000 Reputation Level)kicken User rank is General 37th Grade (Above 100000 Reputation Level)kicken User rank is General 37th Grade (Above 100000 Reputation Level)kicken User rank is General 37th Grade (Above 100000 Reputation Level)kicken User rank is General 37th Grade (Above 100000 Reputation Level)kicken User rank is General 37th Grade (Above 100000 Reputation Level)kicken User rank is General 37th Grade (Above 100000 Reputation Level)kicken User rank is General 37th Grade (Above 100000 Reputation Level)kicken User rank is General 37th Grade (Above 100000 Reputation Level)kicken User rank is General 37th Grade (Above 100000 Reputation Level)kicken User rank is General 37th Grade (Above 100000 Reputation Level)kicken User rank is General 37th Grade (Above 100000 Reputation Level)kicken User rank is General 37th Grade (Above 100000 Reputation Level)kicken User rank is General 37th Grade (Above 100000 Reputation Level)kicken User rank is General 37th Grade (Above 100000 Reputation Level)kicken User rank is General 37th Grade (Above 100000 Reputation Level)  Folding Points: 2670569 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2670569 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2670569 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2670569 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2670569 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2670569 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2670569 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2670569 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2670569 Folding Title: Super Ultimate Folder - Level 6Folding Points: 2670569 Folding Title: Super Ultimate Folder - Level 6
Time spent in forums: 2 Months 2 Weeks 2 Days 5 h 1 m 44 sec
Reputation Power: 3436
If you want server-b to be publicly accessible then it will need to be associated with a public ip. You could probably handle this at your firewall/router level by making a rule that a request coming in for IP 1.2.3.4 gets forwarded to internal ip 10.20.30.40

Then you configuring your existing DNS servers to add an A record for the domain pointing to the public ip 1.2.3.4
__________________
Recycle your old CD's, don't just trash them


Spidermonkey Tutorial;

If I helped out out, show some love with some reputation, or tip with Bitcoins to 1N645HfYf63UbcvxajLKiSKpYHAq2Zxud

Reply With Quote
  #3  
Old June 27th, 2012, 01:06 AM
couttsj couttsj is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2011
Posts: 167 couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 17 h 26 m 48 sec
Reputation Power: 43
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > DNS - seperate web server

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap