/    Sign up×
Community /Pin to ProfileBookmark

How can I have one website forward to another?

I have two domain names – [url]www.wyoroast.com[/url] & [url]www.wyomingcoffeeroasters.com[/url]. I have a website build for [url]www.wyoroast.com[/url].

If someone were to type in [url]www.wyomingcoffeeroasters.com[/url] I would like for it to forward to [url]www.wyoroast.com[/url].

As you have probably already noticed, I’m not well versed in the terms for websites. Can anyone tell me how to do this?

Thanks in advance for your help!

wyokats

to post a comment
Full-stack Developer

5 Comments(s)

Copy linkTweet thisAlerts:
@ryanbutlerNov 25.2007 — If you're on Linux, look into mod_rewrite. I'm sure Windows has a way to do it, but I'm not as familiar how Windows does it, maybe a re-direct through IIS.
Copy linkTweet thisAlerts:
@aj_nscNov 25.2007 — you can do this through whoever you have registered your domain with. it's something called domain forwarding. alternatively, i believe you can just enter the nameserver information for http://www.wyoroast.com/ for your other domain and it will all point to the same server.

if all this sounds too complex, then start somewhere simple, did you register these domain names and if so, through what service? (e.g. mydomain.com godaddy.com, etc)
Copy linkTweet thisAlerts:
@afigueroaNov 25.2007 — nameservers aside, you could have a simple <script type="text/javascript">self.location.href="www.wyoroast.com"</script>
Copy linkTweet thisAlerts:
@Major_PayneNov 26.2007 — If you have use of a Control Panel (and you should on any hosting service worth its name) for the site, the easiest way is to use its 301 Redirect tool. Nothing could be simpler.

Ron
Copy linkTweet thisAlerts:
@kiwibritNov 26.2007 — If you have use of a Control Panel (and you should on any hosting service worth its name) for the site, the easiest way is to use its 301 Redirect tool. Nothing could be simpler.

Ron[/QUOTE]


I'd probably do a 301 too. That said, could you not just point the DNS from one site to the other? I have a feeling that would be a no no - but I wonder.
×

Success!

Help @wyokats spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.30,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...