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 redirection problem

Discussion in 'General Discussion' started by fog, Apr 21, 2003.

  1. fog

    fog Well-Known Member

    Joined:
    Jun 22, 2002
    Messages:
    164
    Likes Received:
    0
    Trophy Points:
    16
  2. fog

    fog Well-Known Member

    Joined:
    Jun 22, 2002
    Messages:
    164
    Likes Received:
    0
    Trophy Points:
    16
  3. ZeroFill

    ZeroFill Active Member

    Joined:
    May 4, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    1. remove redirection from cPanel
    2. add index.php to /whatever/ directory
    3. type this in index.php
    PHP:
    <?php
    header
    ("Location: http://template.whatever.net/index.cfm?tid=11111");
    ?>
    now whenever someone types whatever.domain.com, the php script will redirect them to http://template.whatever.net/index.cfm?tid=11111

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page