Web Hosting Talk







View Full Version : Ensim Sub-Domain hosting


neoinoakleys
04-08-2003, 05:11 PM
Is there some way to create a sub-domain in Ensim without creating a new hosting instance?

Here is an example:

Ordinarily for a new instance (domain.com) I would set up the account like normal, but if I wanted to add a sub-domain(sub.domain.com) under that one, I would have to create a whole new instance for it, and treat it as a whole new hosting account.

So, is there a way to create the sub-domain and not create a whole new instance for it?

Anyone else have this problem?

Eric Lim
04-08-2003, 05:16 PM
If there is only for one domain, login to the server as root.

cd /var/named
vi db.domain.com

after the $ORIGIN domain.com.
add a wildcard dns A entry for the domain

* A ip_address

/sbin/service named restart

You cannot add a wildcard dns through Ensim control panel (as far as I know) You need to do it manually through shell.

Edit:

cd to the directory mainwebsite_html and add a new directory, like forum.domain.com

put a index.html into the directory and it should be resolved.

NJHosting
04-11-2003, 11:34 AM
Isn't it possible to use cname variables to create the sub-domain as well.