Forum Moderators: phranque
I am trying to get the following code working in my site - but the only snag I am running into is that this host won't allow me to edit the httpd.conf file, and nor will they. (i am running a test with this host with wordpress mu, and so far I am not pleased with this host)
I DO have access to php.ini, and .htaccess. Is there anyway to add the following serveralias wildcard command to take effect for my site in any of the other files?
ServerAlias *.domainnamehere.tld
What other options can I follow without the use of my httpd.conf file?
* Points to IP Adress
@ Points to IP Adress
*.domain.tld Points to IP Address
I setup all of these entries in an attempt to get Wildcard DNS working. I AM able to ping any made up subdomain of my domain now thoug - with these entries. Am I missing an entry, or do I have one too many?
Some hosts will do this for you, but many either won't do it, will require you to use cPanel (or similar) to set up the subdomains one-by-one as "add-on domains), or will want to charge you for the additional "domains."
A dedicated IP address often makes this much simpler, since the server knows that all requests for that IP address (regardless of hostname) belong to you and should be 'sent' to your file space.
Jim