HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   How to have several urls pointing to one website (http://www.howtoforge.com/forums/showthread.php?t=35729)

fycserv 30th May 2009 23:48

How to have several urls pointing to one website
 
Hi everyone.

I have my sites running but now, one of my users wants another domain to be used within his website. His website is already running under another domain name. Is it possible to handle this from the ISPConfig admin panel ?

To be clearer, He wants their visitors to reach his website no matter if they write www.hissite.com or www.hissite2.com.

Thanks a lot.

Fernando.

spectre03 31st May 2009 06:57

Can he not just use a CName for the site and redirect it to the "preffered" url? If it is the exact same site I don't see why he wouldn't want to redirect to the base url but maybe I am not thinking of something they are.

till 31st May 2009 10:44

You can add as many domains as you like as co-domains to the website.

fycserv 1st June 2009 16:43

Ok Till, thanks a lot.

Something tells me that I must create a DNS register if I want the domain to work properly. Fortunatelly, the co domain interface allows us to create this DNS automatically.

Once the co-domain is created, does the ispconfig script relates the new co domain with the web site located in var/www/webX/web ?

fycserv 1st June 2009 16:46

I'm not sure if I understand your point. I have seen that cname term somewhere in the dns manager but i have not taken the time to understand its purpose. I'll separate the space to study about it. I beg you to send me info about it, if you have it at hand. :)

falko 2nd June 2009 19:14

http://en.wikipedia.org/wiki/List_of_DNS_record_types

fycserv 2nd June 2009 22:30

Hi everyone.

I proceeded as suggested, "create a co domain". As usual I pointed my domain to my server where I expect to resolve the name. But until now, when the domain is used in internet, it goes to the shared Ip html page. This make me think that my dns configuration needs something else.

Would you help with this ?. something to have in mind is that Im using a DMZ to reach the server.

I already used dig to confrontate the results of this co domain with another well-working domain. Evertything seems to be good.

till 3rd June 2009 09:10

You have to make sure that the co-domain points to the exact same IP adress then the main domain of the website with a dns A-Record.

fycserv 5th June 2009 15:27

Thanks a lot Till,

I'm kind of confused. When you say "points to the exact same IP adress" what do you mean ? In my ispconfig enviroment all the webx spaces are sharing the same IP. If I understand, there is an appache directive that handles the received request and knows to which of the webx/web/ files the response is.

Help me with this please, I'm still having the shared ip response when use my new url.

id10t 5th June 2009 16:51

I think Till meant to say "co-domain points to the exact same IP address as the main domain of the website with a dns A-Record"



Quote:

Originally Posted by till (Post 191791)
You have to make sure that the co-domain points to the exact same IP adress then the main domain of the website with a dns A-Record.



All times are GMT +2. The time now is 21:00.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.