Results 1 to 6 of 6
  1. #1

    Bizzare Redirection

    I have serveral domain hosted in my server.

    when I type the prefix mail, it will lead to www.lead_to_here.com

    E.g. mail.mydomain1.com , mail.mydomain2.com and mail.mydomain3.com, all these will direct to www.lead_to_here.com.

    This is redirection is pretty bizzare to me.

    Thank you.

  2. #2
    Join Date
    Apr 2003
    Location
    NC
    Posts
    3,093
    There are no apache virtualhosts setup for mail.domain.com and it is just using the first domain listed in the apache config listed for that ip which is lead_to_hear
    John W, CISSP, C|EH
    MS Information Security and Assurance
    ITEagleEye.com - Server Administration and Security
    Yawig.com - Managed VPS and Dedicated Servers with VIP Service

  3. #3
    Thank you, eth00.

    How do I setup the mail.domain.com? I am using mail.domain.com as my smtp and pop.

  4. #4
    Join Date
    Sep 2002
    Location
    Nashville, TN
    Posts
    237
    Using cpanel? Set them up as parked or addon domains.

    Else, setup new virtual host or ServerAlias entries in existing virtual hosts for the domains you wish to host on your server.

    -Chris

  5. #5
    ServerAlias *.domain.com

    Like the above?

    I have tried adding sub-domain, mail.domain.com, that will make my pop and smtp unusable.
    Last edited by markkoh; 10-11-2005 at 02:54 PM.

  6. #6
    Correction, after adding the sub-domain, mail.domain.com, the pop and smtp is still usable, but when I browse mail.domain.com, it will direct me to an directory of CGI.

    How can I have a proper setup for mail.domain.com in apache config?
    How can I setup automatically, so that the next time I add a new domain it will be automatically setup the mail prefix?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •