url masking?

Discussion in 'Programming' started by MoeAlza, Mar 28, 2008.

  1. #1
    Ok heres the deal.

    I want to move my whole site from the "public_html" folder to a sub folder in the "public_html" folder.

    How do I point my domain to the sub folder. I tried to use the domain redirect but when I go to www.domain.com it shows up at subdomain.domain.com which doesn't look that nice.

    I would have used an addon domain but this is the main domain for cpanel account so I can't use that.

    Please help.
     
    MoeAlza, Mar 28, 2008 IP
  2. it career

    it career Notable Member

    Messages:
    3,562
    Likes Received:
    155
    Best Answers:
    0
    Trophy Points:
    270
    #2
    Did you try using .htaccess ?
     
    it career, Mar 28, 2008 IP
  3. MoeAlza

    MoeAlza Peon

    Messages:
    304
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    How? Can you please give me a strep by step guide.
     
    MoeAlza, Mar 28, 2008 IP
  4. FusionBird

    FusionBird Well-Known Member

    Messages:
    156
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #4
    Hi,

    Just let us know if you haven't found any solution .

    Thanks
     
    FusionBird, Apr 1, 2008 IP