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!

domain redirect

Discussion in 'General Discussion' started by ShaunAult, Aug 9, 2014.

  1. ShaunAult

    ShaunAult Registered

    Joined:
    Aug 9, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Amlwch, United Kingdom
    cPanel Access Level:
    Website Owner
    Hi All,

    I’m new to the forums page as my hosting support can’t help me

    This is the problem I have -
    mydomain.co.uk (loads the site)
    mydomain.co.uk/new-site (i have to type this in manually)

    I don’t want a redirect to /new-site

    Is there a way I can set /new-site to load up as the default?

    many thanks
    shaun
     
  2. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    575
    Likes Received:
    20
    Trophy Points:
    143
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Do you plan on replacing the files in public_html with those in public_html/new-site? If so, then you would need to move/copy the files from new-site back to public_html. If you're using any type of CRM (WordPress, Joomla, etc..) then you would also need to update the database entry to point to the new URL.

    If you don't plan on replacing the files, then a redirect is the only way to accomplish what you want.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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