Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Redirecting to/from sub-domains
Old 04-29-2009, 08:42 AM Redirecting to/from sub-domains
Junior Talker

Posts: 2
Name: Hans Gatu
Trades: 0
If I own two domains, for example domain.com and domain.net and
domain.net is a sub-domain to domain.com (www.domain.com/domain.net).
How can I make it work like, if I want those who type in www.domain.net
to end up in www.domain.com/domain.net ?

_HG_
_HG_ is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-29-2009, 09:59 AM Re: Redirecting to/from sub-domains
Brian07002's Avatar
Defies a Status

Posts: 2,142
Name: ...
Location: ...
Trades: 0
Ask your provider to add DNS records for them. Have you tried .htaccess?
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
Reply With Quote
View Public Profile
 
Old 04-29-2009, 10:25 AM Re: Redirecting to/from sub-domains
Junior Talker

Posts: 2
Name: Hans Gatu
Trades: 0
Will .htaccess do it?
Do you have an example code that does the trick ?

_HG_
_HG_ is offline
Reply With Quote
View Public Profile
 
Old 05-05-2009, 01:05 AM Re: Redirecting to/from sub-domains
L a r r y's Avatar
Super Talker

Posts: 100
Name: Larry K
Location: Arizona
Trades: 0
One way I have done it is to have a hosted domain, www.domain.com/, create a folder called domain.net in the root of the web site, then take an unhosted domain, www.domain.net that is forwarded to http://www.domain.com/domain.net/.

You arrive at the end result.

[Edit} I had to restart the browser to edit lines I had already written.

Last edited by L a r r y; 05-05-2009 at 01:08 AM..
L a r r y is offline
Reply With Quote
View Public Profile Visit L a r r y's homepage!
 
Reply     « Reply to Redirecting to/from sub-domains
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
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.60107 seconds with 12 queries