Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st October 2011, 08:32
mdkberry mdkberry is offline
Junior Member
 
Join Date: Sep 2011
Posts: 8
Thanks: 3
Thanked 0 Times in 0 Posts
Default Multiple domain names pointing to one website

Hi

What is the simplest/tidiest way to point 50 domain names to one web site that is hosted on ISPConfig 3 ?

I had hoped to do it by adding A records inside ISPConfig for each domain name, i.e. by adding the A records to the DNS zone for the main web site that would be recieving the redirections. Then set each of the 50 domain registrar NS records to point to my ISPConfig public ip. This doesnt appear to work.

The main point being I dont want to make 50 web sites and domain zones in ISPConfig if I can avoid it.

suggestions please

Rgds
Mark
Reply With Quote
Sponsored Links
  #2  
Old 1st October 2011, 16:59
kwickcut kwickcut is offline
Senior Member
 
Join Date: Nov 2005
Location: nj usa
Posts: 223
Thanks: 14
Thanked 11 Times in 10 Posts
Default

under you sites you have the option to forward



kwick
__________________
Operating system Ubuntu Linux 10.04.4
ISPConfig Version: 3.0.4.3
Webmin version 1.580
Kernel and CPU Linux 2.6.32-40-server on x86_64
Processor information AMD Phenom(tm) II X4 945 Processor, 4 cores
Real memory 4.0 GB total
Reply With Quote
  #3  
Old 3rd October 2011, 23:26
mdkberry mdkberry is offline
Junior Member
 
Join Date: Sep 2011
Posts: 8
Thanks: 3
Thanked 0 Times in 0 Posts
Default

thanks for suggestion but not really a solution as it means creating 50 websites. that was the whole point. I dont want to make 50 sites or 50 seperate DNS zones for the domain names.

I just want to have them point, using DNS A record entries in ISPConfig , to a single web site hosted on my ISPConfig and then add in pointers to my ISPConfig NS server at the registrar of the 50 domain names.

so far any attempts at adding A records, CNAME records or any kind of record containing the domain names form inside the planned hosting web site or anywhere on my ISPConfig DNS still throws up an error when testing to say my NS servers are not the authority for these domain names and the wwworld cant find them.
Reply With Quote
  #4  
Old 5th October 2011, 02:46
msp msp is offline
Member
 
Join Date: Aug 2011
Posts: 41
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Your last post you stated you don't want to have to create 50 distinct DNS zones.

1- you mean zone files as opposed to zones; a zone file pertains to a domain whereas a zone pertains to a hierarchical portion of a domain

2- the whole point of DNS is that a given DNS record pertains to a single domain name, and it cannot pertain to multiple domains. Each domain must have a zone file associated with it, otherwise there is no way of knowing on which web server that domain's data resides.

Therefore you have no choice but to create 50 DNS zones, regardless of whether you want them all to point to the same server (and / or the same site) or not. This is how the internet works.

Luck has it that your DNS zone file is probably created automatically and managed by either your domain registrar, a third party, or you (i.e. through ISPConfig).

Depending on what nameservers you have set for the domain with your registrar, (their own? your own server running ISPConfig? a third party?), you may also be lucky enough that the bulk creation or copying of zone files is supported, thus saving you - ooo - at least 30 minutes of your time in manual, repetitive, computing tasks.

And if you are really lucky, they may further provide you with the mechanism to redirect sites using something they may call "web forwarding", or similar. (ISPConfig does - as a previous poster mentioned.) This is nothing to do with DNS.

If you are even more lucky, they may allow you to set such redirections in bulk. (Hmmm, ISPConfig might not help you there.)

And if you are the luckiest person ever, if your domains' NS servers are with the registrar or a third party, they may do this without trying to track your web visitors' personal information! (Although I doubt it.)

Regarding trying to 'add an A record to receive a redirection', (i.e. adding an A record to your target site) there are too many things wrong with this statement to address here, but rest assured, what you are trying to do really will not work.

As for creating DNS records to 'redirect' your site (technically this isn't redirection, it's just pure addressing), well - don't waste your time. CNAMEs are designed for aliasing purposes and won't do what you require.

You will need to set the A records for each domain to point to your ISPConfig server. (This is either done at your domain registrar, or if you decided to host your own name servers - dumb idea unless you have at least 4 geographically separated servers of your own - then it's done within ISPConfig.)

Then in ISPConfig you will have to create 50 sites, because that's the only way of getting 50 virtual hosts each having its own host header for the given domain name for which you created an A record. Then on those 50 ISPConfig sites, you will need to set up redirection. And be glad you didn't have to write the redirection yourself

In conclusion, if you really want to take the SEO-suicidal step of redirecting 50 domain names to the content on one domain, then you should definitely consider doing this using HTTP redirection. Not just because this is the right way, but because nothing else will work.

Sorry if this post comes across as sarcastic or rude. I'm a sarcastic and rude person in real life, too. I hope to be informative, however.

Last edited by msp; 5th October 2011 at 02:59.
Reply With Quote
The Following User Says Thank You to msp For This Useful Post:
mdkberry (5th October 2011)
  #5  
Old 5th October 2011, 05:10
mdkberry mdkberry is offline
Junior Member
 
Join Date: Sep 2011
Posts: 8
Thanks: 3
Thanked 0 Times in 0 Posts
 
Default so, DNS.... it is rocket science

lol

thanks msp , thats exactly how I like having that kind of info delivered. Much appreciated and though I understand probably about 60 percent of it, the rest I will scour over with rocket fuel grade coffee until I understand DNS better.

thanks again, you have answered my question perfectly

Rgds
Mark
Reply With Quote
Reply

Bookmarks

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
Postfix Timeout after DATA from some emails treeman Server Operation 13 25th September 2013 12:51
Russian domain names in ISPConfig 2 dimas General 14 22nd March 2011 17:22
dovecot: lda: Fatal: Unknown user dpicella Installation/Configuration 1 22nd August 2010 02:59
postfix, pop3 uvbnserved Server Operation 22 24th May 2009 21:00
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39


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


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