FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Switching Domains and Hosting Please Read!!!





Ratman2050
Ok, I have been using Frihost for about 2 months now. I am getting my site more popular and I have used about 200 MB of diskspace. I would also need a domain if I want my site www.fantasypc.frih.net to go big. I am planning on switching hosts that provide a domain name as well.

My question is do I have to resubmit everything I did to www.fantasypc.frih.net to supoosedly www.fantasypc.com ?
Because that would take forever! Do I have to resubmit over 50 directories www.fantasypc.com and resubmit to search engines create sitemaps etc. all over again!?!? because if so, I would just wait till my site is more popular so it gets on Search engines itself.
mathiaus
Place this in your .htaccess (public_html) Smile
Code:
Options +FollowSymlinks
RewriteEngine on
RewriteRule (.*) http://www.fantasypc.com/$1 [R=301,L]


Search engines etc will change their links, directorys will need you to submit the new url for their stored domain to change though visitors clciking your old link will still go to your new site.
manumiglani
It seems that fantasypc.com is already registered my friend........
Ratman2050
Wow thanks Mathiaus any other useful hints?
Ratman2050
Yes Manumiglani, I saw that I was just using it as an example. Also if I were to change, how would I use a redirect to my new domain from my old one? Any scripts for me.
SlowWalkere
There are a bunch of ways to re-direct.

One such way is with .htacess. Check out http://httpd.apache.org/docs/2.1/en/mod/mod_alias.html#redirect for syntax and explanation of the various directives. I think something like "Redirect 301 / http://www.newdomain.com" will do the trick (re-route any access from the root folder to the new domain).

You could also use the php header() function. At the old location, place a simple php file containing the following line (at the top, before any info is sent to the user)...
Code:
header("Location: http://www.newdomain.com");


You could also use an http refresh command.
Code:
<meta http-equiv="refresh" content="2;url=http://www.newdomain.com">

The number is the amount of seconds to wait before refreshing and loading the specified url.

Or, you could just put up a page that says you have moved, so your users know to bookmark the new address =)

- Walkere
Related topics
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> SEO and Search Engines

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.