Re: Web server and email server in different places with same domain name



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."
.



Relevant Pages

  • Re: Kein CopyFolder unter .NET ?!
    ... Zum einen, zum anderen kann man auch in ASP.NET alles per Notepad schreiben, wenn man unbedingt will. ... ASP website to a remote web server as making an off-site backup of the code. ...
    (microsoft.public.de.german.entwickler.dotnet.asp)
  • How can I find out whether a user has permissions to see a page or not?
    ... I wrote to do the ACL check. ... only in C++ with managed extensions to make ... a web server somewhere to deploy my website (which is LAN ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Multiple Spoofed HTTP Requests
    ... If you can't view the return packets that you have no ... idea what the web server chose as its Initial Sequence Number. ... Audit your website security with Acunetix Web Vulnerability Scanner: ... Up to 75% of cyber attacks are launched on shopping carts, ...
    (Pen-Test)
  • RE: Breakpoint on a web service
    ... First let us clarify how the website works. ... hosted in a web server process. ... Development Server in Visual Studio, Visual Studio will create built-in web ... I suppose that your website and web service are all ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: 2 tier vs 3 tier
    ... question is because of the following item I read on the MS website that has ... Forget about changing the DB engine as that is a ... all your data access logic sits on the web server and you end ...
    (microsoft.public.sqlserver.programming)