|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Sub-domain Catch-All, with apache
How would i go about making apache catch all subdomains? This is for a new shorturl website, im making. But the problem with this is how do i make a catch all sub-domains part?
Anyhelp is great, i do have access to the root. |
|
#2
|
|||
|
|||
|
RE: Sub-domain Catch-All, with apache
first you need to point all subdomains to the same ip (that is done with DNS), and only after that to setup apache..
for the second part, look up URL-rewriting in the apache docs.. |
|
#3
|
|||
|
|||
|
RE: Sub-domain Catch-All, with apache
how do i edit bind? This is all i need to know now... I have cpanel WHS for a root, also sftp root acess. Can you tell me this?
|
|
#4
|
|||
|
|||
|
RE: Sub-domain Catch-All, with apache
no, sorry, i don't know this DNS/bind stuff..
|
|
#5
|
|||
|
|||
|
RE: Sub-domain Catch-All, with apache
First you need a wildcard "catchall" in the DNS, like this
*.yourdomain.com. IN A 111.111.111.111 Then in your Apache virtual hosts directive add a wildcard alias like this ServerAlias *.yourdomain.com For a DNS quick tutorial check out http://codewalkers.com/tutorials/24/1.html |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > Sub-domain Catch-All, with apache |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|