How to Enable Wildcard Subdomains

From ReduxWiki

Jump to: navigation, search

[edit] DNS Zone Modifiation

  1. Login to WebHost Manager (WHM) -> Edit DNS Zone -> domain.tld
  2. Established the following entry -> * 14400 IN A <ip address>


[edit] Vhost update

# /usr/local/apache/conf/httpd.conf
ServerAlias www.domain.tld *.domain.tld


[edit] Restart Apache

/scripts/restartsrv httpd




Image:Tip.png Back to How To Documents
Personal tools