Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    4

    Default wildcard subdomains

    Hi,

    Is it possible to config wildcard subdomains (*.domain_name.com) on a shared ip address.

    It works for domains on ded ip's by creating an "A" record for the ded ip but I need it for a bunch of domains on shared ip's.

    Thanks!

  2. #2
    Member
    Join Date
    Dec 2002
    Posts
    16

    Default Re: wildcard subdomains

    Originally posted by eMark
    Hi,

    Is it possible to config wildcard subdomains (*.domain_name.com) on a shared ip address.

    It works for domains on ded ip's by creating an "A" record for the ded ip but I need it for a bunch of domains on shared ip's.

    Thanks!
    I think I've done this before by just having a record for * in the DNS zone file.

    Not positive, though. Might give it a shot.

    -Troy

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    136

    Default

    Anyone got an example of this?

    I can't get it working..

    cPanel.net Support Ticket Number:

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default

    First ad another input like www in your dns, but replace www with *

    Then edit the hostname in apache like this:

    <VirtualHost xx.xxx.xxx.xxx>
    ServerAdmin webmaster@ismean.com
    DocumentRoot /home/ismeanco/public_html
    BytesLog domlogs/ismean.com-bytes_log
    User ismeanco
    Group ismeanco
    ServerName www.ismean.com
    ScriptAlias /cgi-bin/ /home/ismeanco/public_html/cgi-bin/
    ServerAlias *.ismean.com
    CustomLog domlogs/ismean.com combined
    </VirtualHost>

    Good luck :]

    cPanel.net Support Ticket Number:

  5. #5
    Member
    Join Date
    Mar 2003
    Posts
    136

    Default

    It's just going to the root site. Which is just a white page, instead of the site it is support to go to.

    Set it up with a cname in whm.
    Added it to httpd.conf

    Any ideas

    cPanel.net Support Ticket Number:

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default

    Actually if the apache config file is edited as above and the dns is like the sample I attached to the post it should be fine.

    Maybe double check the dns settings with the pic I attached.

    it should eb fine is everything is matched

    cPanel.net Support Ticket Number:
    Attached Thumbnails Attached Thumbnails wildcard subdomains-wildcard.gif  

  7. #7
    Member
    Join Date
    Oct 2002
    Posts
    216

    Default

    Just making sure- but you do know you have to restart named and httpd, correct?

    cPanel.net Support Ticket Number:

  8. #8
    Member
    Join Date
    Mar 2003
    Posts
    136

    Default

    Yah, i had restarted them both

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. Exceptions to wildcard subdomains?
    By Ishware in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-07-2010, 04:31 PM
  2. wildcard subdomains and normal subdomains at the same time
    By mojoinst in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-09-2009, 07:53 PM
  3. How to make Wildcard Subdomains?
    By echo_unlimited in forum New User Questions
    Replies: 10
    Last Post: 01-23-2007, 09:00 PM
  4. Wildcard subdomains
    By royli57 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-02-2005, 08:10 AM
  5. Wildcard subdomains
    By imagic in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-12-2003, 01:33 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube