Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th September 2010, 11:36
ZeroEnna ZeroEnna is offline
Member
 
Join Date: Aug 2010
Posts: 74
Thanks: 9
Thanked 1 Time in 1 Post
Default DNS Problems with Subdomains

Hey there,

I wanted to fix a problems I recently encountered. I wanted to use subdomains. So for example: sub.example.com refers to example.com/sub

However, the DNS is not resolving this construction.

My domain address has a A- and MX-Record pointing to my server, and I can't create subdomains within my providers account. So how do I manage to get this working?

Kind Regards

Zero
Reply With Quote
Sponsored Links
  #2  
Old 28th September 2010, 12:17
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,799
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

Either create dns a-records for the subdomains at your provider or you have to run your own nameserver and delegate that zone to your server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th September 2010, 13:12
ZeroEnna ZeroEnna is offline
Member
 
Join Date: Aug 2010
Posts: 74
Thanks: 9
Thanked 1 Time in 1 Post
Default

I inserted a DNS Record on the Server (DNS (SOA)), so if this is what you are talking about, then I did it. However, how can I attach the domain to this name zone?
Reply With Quote
  #4  
Old 28th September 2010, 13:19
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,799
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

Quote:
I inserted a DNS Record on the Server (DNS (SOA)), so if this is what you are talking about, then I did it.
Thats only one part. The other part is to make your nameserver authoritive for that domains. You have to do this at the registry where you bought the domain name, by settings the nameserver records at the registry to point to your server. The exact procedure is different for every provider, so you might take a look into the help or manual pages of your domain provider for details.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 28th September 2010, 14:03
ZeroEnna ZeroEnna is offline
Member
 
Join Date: Aug 2010
Posts: 74
Thanks: 9
Thanked 1 Time in 1 Post
Default

Problem located v.v
My provider denies to change the nameservers. so either I have to tell my customer, that there a no subdomains possible (or are they, but with Apache mod_rewrite? if so, how?), or I have to change the domain provider with at least 15 domains..... damn
Reply With Quote
  #6  
Old 28th September 2010, 14:42
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,799
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
 
Default

When you have no dns record for a subdomain, then this subdomain does not even point to your server so it does not matter if you create a vhost or a mod_rewrite rule, they will never match ast the browser does not even know which server he shall contact for that subdomain.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
ZeroEnna (13th December 2010)
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
DNS data from Standalone servers to Primary DNS server SamTzu Tips/Tricks/Mods 7 15th November 2009 14:38
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 20:51
Google Apps dayjahone General 19 29th March 2008 18:25
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 15:40
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 15:34


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


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