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.

subdomain

Discussion in 'General Discussion' started by webserveone, Mar 1, 2004.

  1. webserveone

    webserveone Registered

    Joined:
    Feb 17, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have a customer that wants me to set them up a subdomain that points to a different server.

    For example, www.mydomain.com will be on my server and sub.mydomain.com will be running on another server.

    I have no control over the server that the subdomain will point to (it is in a different location from my server). Is there anyway this can be done?
     
  2. BrightAdmin

    BrightAdmin Well-Known Member

    Joined:
    Feb 29, 2004
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Hi webserveone,

    You can redirect the subdomain to another domain. Follow up this command in the .htaccess file in the home directory of that domain.

    redirect 302 www.mydomain.com sub.mydomain.com

    Hope this will help you to solve the problem.

    Regards,:)
     
Loading...

Share This Page