Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Subdomain to main

Discussion in 'General Discussion' started by JoelWong, Oct 8, 2010.

  1. JoelWong

    JoelWong Registered

    Joined:
    Oct 8, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. gracyj

    gracyj BANNED

    Joined:
    Oct 11, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You could move the files to /home/user/public_html location, but then you might have to change paths for phpBB in order to get it working as indicated in the previously provided link.

    The easier option is probably to change the .htaccess file in /home/user/public_html location to have that redirect to your subdomain when people hit the main domain:

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?mysitename.com$
    RewriteRule ^(/)?$ forum [L]
    Replace mysitename.com with your actual domain name. Replace forum with the subfolder name if it isn't actually forum.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. JoelWong

    JoelWong Registered

    Joined:
    Oct 8, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice