Wildcard settings for non-existing accounts[existing accounts will show their own content]
1. Add wildcard entry in DNS zone of main domain.
2. Dont create server alias[*.example.com] in main doamin,then both non-existing & existing accounts will show main domain content. we need create seperate
3. Create an dummy account in WHM and change its vhost as below,
2. Dont create server alias[*.example.com] in main doamin,then both non-existing & existing accounts will show main domain content. we need create seperate
3. Create an dummy account in WHM and change its vhost as below,
ServerName example1.com ServerAlias *.example.com[wildcard to main DocumentRoot /home/example/public_html
Now all non-existing accounts will show main domain content and existing accounts will show their own contents.
Comments
Post a Comment