Re: Web server and email server in different places with same domain name
- From: alex <alex@xxxxxxxxxxxx>
- Date: Wed, 14 Dec 2005 07:07:21 GMT
edwards.kyle@xxxxxxxxx wrote:
In the /etc/hosts is it possible to do this?no, this is for your dns
209.58.72.83 tbc.to/webmail mail 63.247.133.36 tbc.to www.tbc.to www
i'd suggest having these DNS Records
tbc.to A 63.247.133.36 www.tbc.to CNAME tbc.to mail.tbc.to A 209.58.72.83 tbc.to MX mail.tbc.to
this way, mail for @tbc.to goes to 209.58.72.83 (via the MX, mail exchange record). the website, www.tbc.to and just tbc.to go to 63.247.133.36 (the web server). and for you to check your mail you'll set your pop3/imap clients to "mail.tbc.to", or if you're using webmail, then set them to "http://mail.tbc.to/webmail".
hope this helps
209.58.72.83 is our local static address
63.247.133.36 is the server hosting the webpage
right now the /etc/hosts is
63.247.133.36 tbc.to www.tbc.to www
yeah, leave this kind of stuff out of hosts.. if stuff is supposted to work on a global scale (web, email) then it should be properly configured in dns as above. the hosts file is more for local stuff.. like..
192.168.1.110 box1.tbc.to box1 192.168.1.115 box2.tbc.to box2
...just local stuff that can't be setup globally, or that would never need to be used globally.
thanks in advance....
-- alex ~ alex@xxxxxxxxxxxx ~ www.aeshells.org ~ www.aeirc.net ~
USER, n.:
The word computer professionals use when they mean "idiot."
.- Follow-Ups:
- Re: Web server and email server in different places with same domain name
- From: edwards . kyle
- Re: Web server and email server in different places with same domain name
- References:
- Web server and email server in different places with same domain name
- From: edwards . kyle
- Web server and email server in different places with same domain name
- Prev by Date: Re: Web server and email server in different places with same domain name
- Next by Date: Fedora Core 2/Windows XP dual boot: selecting Linux doesn't work
- Previous by thread: Re: Web server and email server in different places with same domain name
- Next by thread: Re: Web server and email server in different places with same domain name
- Index(es):
Relevant Pages
|