Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th May 2009, 23:48
fycserv fycserv is offline
Junior Member
 
Join Date: Jun 2007
Posts: 19
Thanks: 3
Thanked 1 Time in 1 Post
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 31st May 2009, 06:57
spectre03 spectre03 is offline
Junior Member
 
Join Date: May 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #3  
Old 31st May 2009, 10:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

You can add as many domains as you like as co-domains to the website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 1st June 2009, 16:43
fycserv fycserv is offline
Junior Member
 
Join Date: Jun 2007
Posts: 19
Thanks: 3
Thanked 1 Time in 1 Post
Default

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 ?
Reply With Quote
  #5  
Old 2nd June 2009, 22:30
fycserv fycserv is offline
Junior Member
 
Join Date: Jun 2007
Posts: 19
Thanks: 3
Thanked 1 Time in 1 Post
Default

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 I´m 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.
Reply With Quote
  #6  
Old 3rd June 2009, 09:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 5th June 2009, 15:27
fycserv fycserv is offline
Junior Member
 
Join Date: Jun 2007
Posts: 19
Thanks: 3
Thanked 1 Time in 1 Post
Default

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.
Reply With Quote
  #8  
Old 5th June 2009, 16:51
id10t id10t is offline
Senior Member
 
Join Date: Nov 2008
Posts: 237
Thanks: 2
Thanked 22 Times in 22 Posts
Default

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 View Post
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.
Reply With Quote
  #9  
Old 1st June 2009, 16:46
fycserv fycserv is offline
Junior Member
 
Join Date: Jun 2007
Posts: 19
Thanks: 3
Thanked 1 Time in 1 Post
Default

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.
Reply With Quote
  #10  
Old 2nd June 2009, 19:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

http://en.wikipedia.org/wiki/List_of_DNS_record_types
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
fycserv (2nd June 2009)
Reply

Bookmarks

Tags
multiple-dns, targeting, unique, website

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3 Server IP points to first website setup Iceman100 Installation/Configuration 6 22nd May 2012 14:26
ispconfig 3: website pointing Mentor Installation/Configuration 7 4th May 2009 05:59
cannot receive emails after made website online llamy General 20 27th December 2007 01:14
set up 301 redirect from old website to new website showe1966 Server Operation 1 22nd September 2007 12:30
Pointing MX to another server littlened General 1 26th August 2006 00:22


All times are GMT +2. The time now is 09:17.


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