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 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:
    1
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,449
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. gracyj

    gracyj BANNED

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

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    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.
     
  5. JoelWong

    JoelWong Registered

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

Share This Page