Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
MusoFreak200 is on a distinguished road
 
Posts: 23
Join Date: Mar 2012
Exclamation multiple domain extensions - 07-27-2012, 01:21 AM

G'day,

I've registered multiple domain extensions with godaddy.com, jockitdesign.com (+ .info + .net + .org + .biz) if i set up a hosting account for jockitdesign.com, will that edit all of the other domain extensions? or will i have to create more than one account or can i just have an auto redirect send vistors to the .com?

thank you very much for any help,
-The MusoFreak200-


Personal website:
http://www.angelpoetry.org/
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
Mate's Avatar
Senior Member
Mate is on a distinguished road
 
Posts: 396
Join Date: Apr 2012
Location: Middle England
Default 07-27-2012, 01:45 PM


I suggest you create a single account using the supplied 000webhost subdomain name, and then park your domains on that account.

All your domains will then point to the same files without any coding or redirection.

You may, however, find that this course of action is disadvantaged in SEO terms, so you might want to divert all your domains into one.

.htaccess will do that for you, example..

Code:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !jockitdesign\.com$ [NC]
RewriteRule ^(.*)$ http://www.jockitdesign.com/$1 [L,R=301]

Last edited by Mate; 07-27-2012 at 01:48 PM.
Reply With Quote
(#3 (permalink))
Old
Junior Member
MusoFreak200 is on a distinguished road
 
Posts: 23
Join Date: Mar 2012
Question 07-28-2012, 07:35 AM

Quote:
Originally Posted by Mate View Post
.htaccess will do that for you, example..

Code:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !jockitdesign\.com$ [NC]
RewriteRule ^(.*)$ http://www.jockitdesign.com/$1 [L,R=301]
so when you say it redirects, which line do you change for various extensions? as in

Code:
RewriteCond %{HTTP_HOST} !jockitdesign\.net$ [NC]
RewriteRule ^(.*)$ http://www.jockitdesign.com/$1 [L,R=301]
would be the bit you change right..?


Personal website:
http://www.angelpoetry.org/
Reply With Quote
(#4 (permalink))
Old
Mate's Avatar
Senior Member
Mate is on a distinguished road
 
Posts: 396
Join Date: Apr 2012
Location: Middle England
Default 07-28-2012, 12:41 PM


Quote:
Originally Posted by MusoFreak200 View Post
would be the bit you change right..?
No. Your changes would incur an infinite loop which in turn should generate a HTTP500 error, although you would probably see 000webhost's default error page instead.

My example will redirect all calls to: .info .net .org .biz .anything to .com

My RewriteCond line says: Is the request being made to jockitdesign.com ?

My RewriteRule line says: If 'no', redirect the request to jockitdesign.com

Reply With Quote
(#5 (permalink))
Old
Junior Member
MusoFreak200 is on a distinguished road
 
Posts: 23
Join Date: Mar 2012
Default 07-28-2012, 10:17 PM

thank you so much mate!


Personal website:
http://www.angelpoetry.org/
Reply With Quote
Reply

Tags
domain, domain forward, godaddy, multiple

Thread Tools
Display Modes

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




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com