Reply
Forwarding a domain name to a subdirectory?
Old 01-22-2008, 04:00 PM Forwarding a domain name to a subdirectory?
artcoder's Avatar
Skilled Talker

Posts: 75
Location: United States
Let's say that I have a website at http://example.com (hosted and name registered at HostMonster).

Then I buy a domain name called "example.net" from GoDaddy. Can I set up in Godaddy to forward this domain name to a subdirectory of example.com.

So I want whenever someone visits example.net to be redirected to web pages on http://example.net/newsite But on the browser address bar show always "example.net".

To the user, it should look like example.com and example.net as two different sites.
artcoder is offline
Reply With Quote
View Public Profile Visit artcoder's homepage!
 
When You Register, These Ads Go Away!
     
Old 01-23-2008, 04:07 AM Re: Forwarding a domain name to a subdirectory?
ldcdc's Avatar
Webmaster Talker

Posts: 695
Name: Dan
Hostmonster should have an "addon domains" feature in the control panel. Use that to have example.net hosted on your shared hosting account. Then change the domain's nameservers at Godaddy, as instructed by Hostmonster when you bought the hosting account.
ldcdc is offline
Reply With Quote
View Public Profile Visit ldcdc's homepage!
 
Old 01-23-2008, 04:49 AM Re: Forwarding a domain name to a subdirectory?
~ServerPoint~'s Avatar
Ultra Talker

Posts: 323
Name: Travis
Hello. I Think that first of all your new domain name need to be hosted and 301 must be used to forward the users fronm new domain to subcategory on the old one.
__________________
ServerPoint.com - a true hosting company offering online presence solutions since 1998
Web Hosting, colocation, dedicated servers, virtual private/dedicated servers
Wholly owned multi homed network, servers and facilities
~ServerPoint~ is offline
Reply With Quote
View Public Profile
 
Old 01-27-2008, 11:24 AM Re: Forwarding a domain name to a subdirectory?
ssandecki's Avatar
Extreme Talker

Posts: 248
Name: Stephen
Location: Chicago, IL
With correct .htaccess configuration and mod-rewrite you could achieve this, but why would you? This is actually considered cloaking (and thats what it is) to most search engines.
__________________
Search Engine Optimization - Search Engine Optimization Knowledge Database.
ssandecki is offline
Reply With Quote
View Public Profile Visit ssandecki's homepage!
 
Reply     « Reply to Forwarding a domain name to a subdirectory?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12722 seconds with 13 queries