hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : Setting up wildcarded domain
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

Setting up wildcarded domain

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-04-2003, 06:24 AM
thema thema is offline
Newbie
 
Join Date: May 2003
Posts: 23

Setting up wildcarded domain


Does anyone know how to set up wildcarded domains?
I've got a Raq4 and if I put *.domain.com into the web alias field (as suggested) it isn't accepted by the error wrong hostname or something.

I want to be able to use subdomains in the most simple way without the hassle of dns.

Thanks
Theo

Reply With Quote


Sponsored Links
  #2  
Old 06-04-2003, 06:46 AM
Aushosts Aushosts is offline
Web Hosting Master
 
Join Date: Oct 2002
Posts: 2,283
You need to make a DNS wild card entry using an A type entry of 8 pointing to the IP.
Then edit apache and add the ServerAliase *.domain

__________________
Aushosts Pty Ltd is an Australian provider of Australian Hosting, and Dedicated Servers.
Web: www.aushosts.com.au

Reply With Quote
  #3  
Old 06-04-2003, 07:18 AM
thema thema is offline
Newbie
 
Join Date: May 2003
Posts: 23
Thanks for anwering SpiritAu

But I don't understand what you mean exactly. The apache part is easy but when I make a A type entry in my dns it gives the same error.

I tried to create the following:

*.domain.nl -> 123.123.123.123

I don't get it

Reply With Quote
Sponsored Links
  #4  
Old 06-04-2003, 07:23 AM
Aushosts Aushosts is offline
Web Hosting Master
 
Join Date: Oct 2002
Posts: 2,283
I am not 100% sure how you do it in the cobolt GUI, but edit the zone in pico or whatever text editor you like and add the following line:

* A IPADDRESS HERE

__________________
Aushosts Pty Ltd is an Australian provider of Australian Hosting, and Dedicated Servers.
Web: www.aushosts.com.au

Reply With Quote
  #5  
Old 06-04-2003, 08:12 AM
mpalamar mpalamar is offline
Registered User
 
Join Date: Dec 2000
Posts: 610
Edit the following file /etc/named/records as root and than reload your nameserver via the GUI. This will prevent your changes from being erased if you use the GUI to add another domain. Put this in the records files.

a * mydomain.com 111.111.11.11 24
mx * mydomain.com High mydomain.com

Reply With Quote
  #6  
Old 06-11-2003, 01:13 AM
mlegler mlegler is offline
Junior Guru Wannabe
 
Join Date: Feb 2003
Location: Zürich
Posts: 36
smoother would be to include a bind file:

1) if your domain is domain.com, create a file called /etc/named/pri.domain.com.include in /etc/named/ that reads:
Quote:
; Custom additions to the BIND database with this
; pri.domain.tld.include file beneath the regular
; pri.domain.tld file that shouldn't be edited
; directly (since edited by the GUI).
; Add and remove a dummy subdomain into the GUI
; to have this file included, the pri.domain.tld
; file will show an additional line reading
; $INCLUDE pri.domain.tld.include.
; /etc/httpd/conf/httpd.conf must be edited, too.
; ml 26.12.2002
;
; include all subdomains with the * wildcard
*.domain.com. in a 123.123.123.123
You can skip all the ;-lines, of course; the last one is the relevant one.

2) In the Control Panel (GUI), click Save Changes in the DNS parameters and the inclusion will be made. I will add automatically the line
Quote:
$INCLUDE pri.domain.com.include
to the /etc/named/pri.domain.com file.

Best regards

__________________
_~_
'¿') Meaulnes Legler
`-´ Zürich, Switzerland
http://WaveWeb.ch


Reply With Quote
  #7  
Old 06-11-2003, 01:50 AM
thema thema is offline
Newbie
 
Join Date: May 2003
Posts: 23
Quote:
Originally posted by mpalamar
Edit the following file /etc/named/records as root and than reload your nameserver via the GUI. This will prevent your changes from being erased if you use the GUI to add another domain. Put this in the records files.

a * mydomain.com 111.111.11.11 24
mx * mydomain.com High mydomain.com
I've tried the above yesterday and it works perfect. Thanks!!

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
ICANN Publishes Details on Domain Seizure Process Web Hosting News 2012-03-09 15:38:48
Domain Marketplace Sedo Offers Previously Unreleased .CO Domains Web Hosting News 2012-01-11 15:12:49
Data Center Firm Switch Communications Sues Canadian Man Over Copyright Infringement Web Hosting News 2011-11-10 18:11:24
.XXX Domain Sunrise Period Opens Wednesday Web Hosting News 2011-09-06 20:50:41
Web Host FlexiHost Launches NZ Domain Lookup and Registration App Web Hosting News 2011-08-31 20:38:54


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?