hosting with 1 domain

da_host

Verified User
Joined
Aug 26, 2004
Messages
11
Just thinking, is it possible with DA to create users under the main domain? Like when main domain is myhost.com, users are myhost.com/~user1/. Or is it possible to create a subdomain in enom, point it to server and configure user account to use user1.myhost.com?
 
da_host said:
Just thinking, is it possible with DA to create users under the main domain? Like when main domain is myhost.com, users are myhost.com/~user1/.
Close, but not exactly.

Whenever you create a user, the default domain for that user can be reached at your server's hostname thusly:

http://hostname.example.com/~username

It doesn't really make sense for a domain name without a hostname to have users; users are on systems (hosts), not on domains (entities).
Or is it possible to create a subdomain in enom, point it to server and configure user account to use user1.myhost.com?
It's got nothing to do with Enom, or with any other domain registrar, unless you're using them for DNS instead of hosting DNS yourself.

You can set up a user account and domain under it, in DA, for hostname.example.com, and then that will work as long as you point to your DA box for both nameservers.

However if you use outside Master or outside Slave DNS servers you'll need to create either entries in your example.com zone file, or else create NS entries for hostname.example.com in your example.com zonefile, and then new zonefiles for hostname.example.com.

Jeff
 
allow me to expand on the original question because I'v had something similiar I wanted to ask.

I bought my dedicated server, let's say I have no need for any resellers, users, etc.. how do I go about hosting my site in my base/root apache dir?! For example now I must go and make a reseller, then make a user, and then go to http://xxx.xxx.xxx.xxx/~user/

what must be done to simply run off of http://xxx.xxx.xxx.xxx/

.. is this possible? This would makes things ALOT easier on me if my server ever changed ip(s) again because I can then simply point a dynamic DNS service to that new IP with fromt a different hostname, but I cannot point to sub-directiories with dynDNS services.

If I could point simply to my IP, this would make my website more redundant and less prone to attacks.
 
If you put your site in /var/www/html, and your CGIs in /var/www/cgi (note, NOT in /var/www/html/cgi) that should work.

However, lots of things may not work, because DA is set up as a hosting server, and many things, including PHP, etc., may not be setup to work in that directory; I'm just not sure. You'd have to thoroughly read the main httpd.conf file to see how http is set up for the main apache website.

Then you'd simply create an A record pointing to that IP#, and it should work.

If your IP# changes often enough for you to need dynamic DNS you're in trouble, since DirectAdmin won't work if your IP# changes, and DirectAdmin is sold for static IP. DA staff have made it clear here and elsewhere that they won't change licenses continually for systems hosted on dynamic IP#s.

Jeff
 
Back
Top