Vince
New member
Er is dus DNS managment voor mij aangezet, nu zou wildcard door automatisch door moeten werken maar dat is dus niet het geval. Ik heb dit even doorgewerkt, het schuingedrukte heb ik al gedaan.
Dit staat er nu bij DNS managment bij.
* A 87.238.173.142
Toenstraks deden de domeinen het nog helemaal niet, na dit staat er tenminste al:
`Apache is functioning normally`
____
1) Setup the dns with a wildcard A record. Go to Dns Control, and add an "A" record:
* -> 1.2.3.4
where 1.2.3.4 is the IP of your domain.
This will allow anything.domain.com to resolve to your server. Apache does not yet know how to direct that name though.
2) To setup apache, go to:
Admin Level -> Custom Httpd configurations -> domain.com
In the top text area, add this *one* line:
ServerAlias *.|DOMAIN|
then click "Save".
That should be it. Wait a few minutes for everything (apache, named) to be restarted then test it out.
The wildcard subdomains will point to your main public_html directory for the domain.
If you want to change this, its probably best not to do step 2, and to setup your own custom virtualhost manually into the /etc/httpd/conf/httpd.conf (DA wont delete/overwrite it there) with the same ServerAlias directive as in step 2.
____
Hoe doe ik stap 2?
Dit staat er nu bij DNS managment bij.
* A 87.238.173.142
Toenstraks deden de domeinen het nog helemaal niet, na dit staat er tenminste al:
`Apache is functioning normally`
____
1) Setup the dns with a wildcard A record. Go to Dns Control, and add an "A" record:
* -> 1.2.3.4
where 1.2.3.4 is the IP of your domain.
This will allow anything.domain.com to resolve to your server. Apache does not yet know how to direct that name though.
2) To setup apache, go to:
Admin Level -> Custom Httpd configurations -> domain.com
In the top text area, add this *one* line:
ServerAlias *.|DOMAIN|
then click "Save".
That should be it. Wait a few minutes for everything (apache, named) to be restarted then test it out.
The wildcard subdomains will point to your main public_html directory for the domain.
If you want to change this, its probably best not to do step 2, and to setup your own custom virtualhost manually into the /etc/httpd/conf/httpd.conf (DA wont delete/overwrite it there) with the same ServerAlias directive as in step 2.
____
Hoe doe ik stap 2?