Forum Moderators: phranque

Message Too Old, No Replies

Splitting www from all other subdomains

2 IP's - 1 for www and 1 for all other subdomains

         

geckofuel

10:44 pm on Apr 2, 2004 (gmt 0)

10+ Year Member



I have two webservers running on two different IP addresses and would like to have 1 used for my main site and the other used for all the other subdomains (beside www). What is the best way for handling the DNS issues here?

In more specific detail:

*Current state: www and all subdomains on one webserver (1 IP)
*Would like to keep subdomains on the current webserver and move main site to a new server.
*Is there an easy way to point all traffic for the main domain to the new webserver's IP while leaving all the subdomain traffic on the current server?

What I'd like:

Subdomains and mail server point to:
000.000.000.01
Main site points to:
000.000.000.02

The DNS server currently points to 000.000.000.01

Thanks.

digitalv

7:41 am on Apr 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yeah, just make two "A" records in your DNS ...

www.domain.com = x.x.x.1
*.domain.com = x.x.x.2

(If your DNS supports * - If not, specify sub hostnames)

domain.com = x.x.x.2
mail.domain.com = x.x.x.2
whatever...