PDA

View Full Version : Domain name aliasing



John
02-28-2003, 01:38 AM
If I read the manual for ENSIM correctly, I can register .com, .net, and .org of a domain and have the .net and .org point to the .com using the domain aliasing in the settings for the site.

Is this right?

I'm guessing that the DNS of all the domains need to point to the same server where I am hosting the site.

Am I on track here?

Thanks!

Nick
02-28-2003, 01:56 AM
hello john

yes..register all three domains (.com, .net, .org)
have one account set up and alias the other two (we have to put the alias in, but that is not a problem)
then point the dns for all three to the server your on
you have three domains pointing to the same web content

Joe
02-28-2003, 08:55 AM
Then open a support ticket, and we'll setup the aliases on the server - the server needs to be able to answer for those domains as well.... no biggie ... no charge.

Joe

John
02-28-2003, 10:35 AM
Joe, Nick,

A reseller can set up the aliasing, in their control panel, right?

John

Nick
02-28-2003, 11:06 AM
hello John

do you have access to the reseller forum?? if so..refer here

http://www.hostpc.com/phpbb/viewtopic.php?p=666#666

John
02-28-2003, 02:55 PM
hey Nick,

The page says that the forum/post does not exist. Also, the reseller link at the top of the page leads nowhere.

John

tstern
03-05-2003, 12:02 AM
I have a question -- can the redirect be done for any domain name, or just derivatives of the .com?

Ie, I have tstern.com. I know I can do this with .org and .net, but could I also do it with, say, tstern#2.com?

thanks!

Nick
03-05-2003, 12:13 AM
hello tstern

yes..you can redirect with any domain..if your not a reseller we can do it for you...

just register the domain, point the dns to your server and ask us to set up the redirect

Anonymous
03-05-2003, 12:40 AM
I have that setup now with my domain (doom3resource.com sends them to the correct domain which is doom3resource.net), but it leaves the .com address still in the address bar. Is there something you can setup so that it changes the url to the one that they're being sent to? I'd rather have people bookmark the .net site than the .com site.

Nick
03-05-2003, 11:24 AM
hello brandon

having the .com redirect to .net and switch to .net url is not possilble within the ensim control panel

Anonymous
03-06-2003, 03:46 PM
Is there a way I can do that with .htaccess?

Joe
03-06-2003, 03:49 PM
You could do it as a frame forward, or as a straight forward (java refresh) ... will that work for you?

Anonymous
03-06-2003, 08:56 PM
I've never heard of a frame forward. I just looked searched for it on Google and nothing of relevance came up. Can you explain how a frame forward works?

Nick
03-06-2003, 10:33 PM
If you want a Domain Alias to redirect and put the correct hostname in
the URL bar of the browser, you can use mod_rewrite. If you are hosting
original.com and have a domain alias of alias.com and you want all
requests for alias.com urls to be redirected back to original.com urls,
then you would put this in an .htaccess file in any directory where you
want this redirection to happen:

RewriteEngine on
RewriteCond %{HTTP_HOST} alias.com$ [NC]
RewriteRule ^(.*)$ http://www.original.com/$1 [R]

The rule will affect all directories below the one where you put this
.htaccess file. So a request for http://www.alias.com/docs/services.html
will be redirected to http://www.original.com/docs/services.html as
well.

Anonymous
03-08-2003, 05:11 PM
Now I'm confused. I have some experience with forwarding, but please explain this to me as if I didn't.


Let's say I have Dean.com and BeauDean.com. Dean.com is the so-called main one. Or first one:

Dean.com/
Dean.com/myhouse
Dean.com/mycat
Dean.com/mydog


BeauDean.com redirects to Dean.com.
What do you see in the address bar?
BeauDean.com as a frame or as if it were a site all independant?

BeauDean.com/
BeauDean.com/beauwho
BeauDean.com/dancemachine
BeauDean.com/etc


Or is it a frame and all you see is:
BeauDean.com/
BeauDean.com/
BeauDean.com/
BeauDean.com/


In other words, is there any way the user can tell that it's being redirected? Do titles display in the title bar, and does the address bar show the address as it's supposed to?

Thanks,
(guess)

Anonymous
03-08-2003, 05:24 PM
Oh well, I'd edit it and correct it if I could but there's no edit button. I see now that all the domains point at the same content, so in my example the content pages would be the same. The only 2 or 3 possibilities left then are:


1) BeauDean.com becomes Dean.com
BeauDean.com goes to:
Dean.com/
Dean.com/house
Dean.com/cat
Dean.com/dog


2) BeauDean.com stays BeauDean.com without frames
BeauDean.com goes to:
BeauDean.com/
BeauDean.com/house
BeauDean.com/cat
BeauDean.com/dog


3) BeauDean.com stays BeauDean.com with frames
BeauDean.com goes to:
BeauDean.com
BeauDean.com
BeauDean.com
BeauDean.com


Which of these are we talking about being able to do? #1, #2, or #3?

Nick
03-08-2003, 11:55 PM
hello deanimal

joe and i are going to look further into this so that we can give you a more accurate answer

we will get back to you asap

Brandon
03-09-2003, 03:00 AM
RewriteEngine on
RewriteCond %{HTTP_HOST} doom3resource.com$ [NC]
RewriteRule ^(.*)$ http://www.doom3resource.net/$1 [R]

Nick, I just tried this and I get the forbidden message if I try to goto either url. I put .htaccess in the root of my html dir.