Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2002
    Location
    Hong Kong
    Posts
    417

    why server.domain.com can't be created as sub-domain in cpanel/whm?

    intro : i have the a/c "domain.com" created by cpanel and i want to add "server.domain.com" as sub-domain but fail

    reason : when server name is requested as a url, there's always a need to show some critical stuff like dns setup to the users. so i doubt the idea of restricting server name a/c to be created by cpanel/whm. is it really non-sense or insecure to setup such "server-name" a/c?

    my solution : i end up adding a vhost record in apache httpd.conf for "server.domain.com" and all spare ips(not used for ns of a/c), pointing them to /home/domain/public_html/server w/ mod_rewrite to catch all kind of silly request like server.domain.com/joe/whateverucanimagine and xx.xx.xx.xx to a single html page

    disadvantage : the downside for manual addition of vhosts in apache httpd.conf is cpanel won't report stats of domians and subdomains not created by it

    how can i have similar config in a much better approach?

    thanks

  2. #2
    Join Date
    Feb 2004
    Location
    Sofia
    Posts
    1,349
    Interesting, but I didn't get your problem. If you cannot create subdomains, that means only that your account is not WHM authorised to create subdomains.

    Or you mean, you cannot create a subdomain name called "server"?
    :: :: :: :: :: ::
    :: VDSP.Net :: Directory of virtual and dedi serv providers by location and price

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •