pclissold wrote:
Use DNS:
Code:
abc.com. A 12.34.56.78
uvw.com. CNAME abc.com.
xyz.com. CNAME abc.com.
That would only work if placed in the .com zone, which is probably exceedingly unlikely. Also, it wouldn't solve the telling-Apache-about-it problem.
You're going to end up needing to create each domain individually in the DNS manager, but you can use ServerAlias in Apache to specify alternate names for a virtual host:
Code:
ServerName example.com
ServerAlias www.example.com
ServerAlias example.org
ServerAlias www.example.org
...
I believe there's an option in Apache that'll have it redirect requests for ServerAliases to the ServerName, too, but it's been awhile and I can't recall what it is. (If not, mod_redirect would work too.)
_________________
Code:
/* TODO: need to add signature to posts */