How Do I Redirect My Domain To My New Page?

3 replies
Hi There fellow warriors,

I have recently got a new capture page made along with my own hosting as opposed to my sponsors own page and hosting which I had no control over, any way I would like to use the domain name I had with my previous page as I have been doing alot of link building.

How do I go about switching my domain over to my new page?.....I use godaddy for my domains if this helps. Any help appreciated.

Thanks
Bryan
#domain #page #redirect
  • Profile picture of the author Dellco
    Try this:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?yourdomain.com$ [NC]
    RewriteRule ^(.*)$ http://www.whatever-capture-domain.com/or-capture-page/$1 [R=301,L]
    Put this code into your htaccess file. Change the URL in the code to your domain and whatever page it was that you wish to redirect to.
    {{ DiscussionBoard.errors[697674].message }}
  • Profile picture of the author gxd5
    If you are on a new host, you will want to switch the name severs first and make sure you are using the the name servers for your new host. It may take 72 hours for the changes to propagate.

    You can do all of that from your godaddy domain control panel. Just log in to your domain manager, then select your domain, then select name servers.

    After you have switched your DNS up, implement the 301 redirect that Dellco shows you above.
    {{ DiscussionBoard.errors[697992].message }}
  • Profile picture of the author MIB Mastermind
    Thanks guys for the help I have changed the name servers over and put in the code...hope it works.

    Cheers.
    {{ DiscussionBoard.errors[698060].message }}

Trending Topics