Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 24, 2012, 02:29:10 AM

Pages: [1]   Go Down
  Print  
Author Topic: How to direct to a subdirectory  (Read 905 times)
chesa8
Pong! (the videogame) Master
*****
Offline Offline

Posts: 29


« on: September 05, 2010, 07:07:02 AM »

How do I do this...

I need to have my domain, specialneedsclinic,net, direct people to my root directory (which it already does), but...

I also need to have my other domain, specialneedswiki.net, direct people to a sub-directory "/wiki"

How do I set this up?  I've already purchased both domains and I've "parked" them within my main account "chesapsych.com"

Thanks
Eric
Logged
JamesG
Web Designer UK
Berserker Poster
*****
Offline Offline

Posts: 12038


Web Designer


WWW
« Reply #1 on: September 05, 2010, 08:18:21 AM »

you need to set the second domain as an addon domain not a parked domain, see here: http://www.lunarforums.com/cpanel_control_panel_hosting_help/adding_subdomains_parked_domains_addon_domains-t21716.0.html
Logged

MrPhil
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 5212



« Reply #2 on: September 05, 2010, 09:42:09 AM »

Since you have a primary domain "chesapsych.com", both the other domains should be "add-on domains", which gives them their own private areas. When adding them, the default directories would be .../public_html/specialneedsclinic/ and .../public_html/specialneedswiki/. You can give them shorter names if you want, e.g., .../public_html/clinic/ and .../public_html/wiki/ -- the public won't see those names. You will end up with three completely separate websites sharing your account. This assumes that the three will have different content, and you're not just using one name as an alias for another. In that case, you will have to worry about search engines dinging you for "duplicate content", so I would avoid that if possible.
Logged

Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-
Pages: [1]   Go Up
  Print  
 
Jump to: