The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Set sub domain redirection?

Discussion in 'General Discussion' started by chunpal, Jul 29, 2003.

  1. chunpal

    chunpal Member

    Joined:
    Dec 13, 2002
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Hello...

    I have 2 sub domains which are...
    sub1.domain.com / sub2.domain.com

    I'd like to sub1 redirect to sub2.

    I set that thing in user control panel.
    now, when people type http://sub1.domain.com it rediret to
    http://sub2.domain.com

    What I want to do is...
    How do I set the sub1.domain.com remain at the IE(address bar)
    but web page got to be show with sub2.domain.com.

    Somebody said modify DNS zone, then how..?

    I hope that understand my question~~~~bad English....

    Thank you.........

    cPanel.net Support Ticket Number:
     
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Remove the virtual host entry in httpd.conf for sub1 & add a serveralias variable for sub1 in the virtual host entry for sub2.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page