Web Hosting Talk







View Full Version : Wild-Card


Carp
03-06-2003, 12:16 AM
How can I enable Wildcards on my DSN via cPanel? Thanks.

eprodigy
03-06-2003, 12:50 AM
You have to do this from WHM,

1) Login to WHM

2) Scroll down to DNS, and click Edit a DNS entry

3) CHoose a domain and press submit

4) Scroll down below were it says "Add New Entries Below this Line" and in the first box enter "*.yourdomain.com.", make sure "A" type entry is selected from the dropdown, and in the text box enter the domains IP (copy and paste from one of the earlier DNS entries for that domain.

:) Should work :)

Carp
03-06-2003, 01:18 PM
I am hosted with 24hostingnow and my main domain is not in WHM for some reason.

UH-Matt
03-06-2003, 01:32 PM
Have you contacted them for support?

Akash
03-06-2003, 01:33 PM
They'll need to give you ownership of your own account. Most resellers don't allow their "children" to have ownership of their own account so that they can't "accidentally" screw something up :)

Carp
03-06-2003, 01:35 PM
Hey, I have a reseller with them, I tried to attach a SS but the file it too big...there is no Edit DNS, but there is "Add DNS Zone" I clikc that and it asks for a domain and an IP

eprodigy
03-06-2003, 07:56 PM
Originally posted by Carp
Hey, I have a reseller with them, I tried to attach a SS but the file it too big...there is no Edit DNS, but there is "Add DNS Zone" I clikc that and it asks for a domain and an IP

2 problems then if your a reseller:

1) You cannot access your domain via WHM, you do not have ownership of it, almost all hosts do not give you ownership.

2) The edit DNS entry is only availible to root.

If you just had contacted your host in the first place, all you need to tell them is to enable wildcarded DNS on your domain, I am sure they would know how.

PTEZ
03-06-2003, 09:44 PM
"*.yourdomain.com.", make sure "A" type entry is selected from the dropdown, and in the text box enter the domains IP



Follow this discussion,
say you're having a domain named: kkk.com

Then you want to add subdomain and wildcard subdomain of *.abc.kkk.com, all point to some ip.
What should you do?


1. Use two records:
abc.kkk.com. A (ip)
*.abc.kkk.com. A (ip)

2. User two records:
abc.kkk.com. A (ip)
*.abc.kkk.com CNAME abc.kkk.com.

3. User one records:
*.abc.kkk.com A (ip)

4. User two records:
abc.kkk.com NS (dns server name1)
abc.kkk.com NS (dns server name2)


Who can tell me which one is the correct answer?

eprodigy
03-06-2003, 11:00 PM
I believe number 1 is correct.. not absolutly positive though.

PTEZ
03-15-2003, 12:33 PM
Is there anyone here that can make sure this setup thing?

Carp
03-15-2003, 01:27 PM
??

24Hostingnow
03-16-2003, 02:50 AM
Yes,
i have added the .* in the httpd.conf file. It is now working fine.

dnMaster2006
01-10-2006, 08:42 AM
You have to do this from WHM,

1) Login to WHM

2) Scroll down to DNS, and click Edit a DNS entry

3) CHoose a domain and press submit

4) Scroll down below were it says "Add New Entries Below this Line" and in the first box enter "*.yourdomain.com.", make sure "A" type entry is selected from the dropdown, and in the text box enter the domains IP (copy and paste from one of the earlier DNS entries for that domain.

Should work

I've shared hosting and the IP in the zone file is not used for any site by the web host. So, all the sub domains now point to that IP (port 80).
How can I direct http://subdomains.mydomain.com to http://www.mydomain.com/subdomain/

Thanks in advanced.

illuminat1
01-10-2006, 09:06 AM
I've shared hosting and the IP in the zone file is not used for any site by the web host. So, all the sub domains now point to that IP (port 80).
How can I direct http://subdomains.mydomain.com to http://www.mydomain.com/subdomain/

Thanks in advanced.
You can do this using your .htaccess file. See http://tips-scripts.com/?tip=pointing#tip for details.