How to Redirect a Domain

- How do you redirect a domain to your web host?The best way to redirect multiple domains without
- How do you redirect multiple domains to oneupsetting the search engines is to create a 301
domain?redirect. This enables you to redirect an entire
- How do you redirect an old domain to a newwebsite or a single webpage. Create a.htaccess file in
domain?notepad and save it as.htaccess.txt. Here's the code
- How do you redirect an old web page to a newto add to this file to redirect a domain name or the
web page?whole website to another domain.redirect 301 / dot
How do you redirect a domain to your web host?yourdomain dot com/
So you just bought a new domain name andThe first "/" means everything from the top level of
purchased a web hosting account. When you firstyour website structure on down will get redirected. If
register your domain name it will have theyou have more than one domain to redirect simply
nameservers of your domain name registrar. Beforeplace one line under the other for each domain. After
you upload your website files to the server on yourplacing the code in the.htaccess file upload it to your
web host you need to point the nameservers ofserver. Test if the redirect is working by entering the
your domain name to the nameservers of your webdomain address in your browser.
host. The nameservers will look likeHow do you redirect an old domain to a new
this:ns1.yourhostname dot comns2.yourhostname dotdomain?
comUse the code above if you want to redirect an old
Dot should be replaced by a period. It will take a 24domain to a new domain however if you wish to
to 48 hours for your domain name to propagatesimply redirect a old web page to a new web page
over the Internet. Once this happens your websiteuse this code:redirect 301 /oldpage.html dot
will appear online.yourdomain dot com/newpage.html
How do you redirect multiple domains to one domain?Tip
Online business owners often register multiple domainIf you're moving your website from one host to
names that are similar in spelling. This prevents youranother host create the 301 redirect on the old host
competitors from registering a similar domain namethen leave it there for several weeks before
plus it helps visitors to stay on your website shouldcanceling your old account. This gives the search
they misspell your website address. The site ownerengines time to spider the new links while maintaining
may also purchase extra domains to with differentyour current website rankings.
extensions e.g..net,.org,.info, etc.