Skip to main content

Cpanel only dns server default page customization

Comments

6 comments

  • quietFinn

    I don't think it's possible there is no web server (Apache) in a DNSONLY server.

     

    0
  • Unnamed User

    Cpanel dns only already have a default page. I just want to replace the page.

    1
  • cPRex Jurassic Moderator

    When there is no webserver running, the cPanel service (cpsrvd) listens for Apache connections.  You'll likely want to adjust the data in /var/www/html for the default page that shows up.

    0
  • quietFinn

    There is no /var/www/html in DNSONLY server.

     

    0
  • cPRex Jurassic Moderator

    Hmm....let me look into this a bit more and I'll get back with you!

    0
  • cPRex Jurassic Moderator

    I looked into this a bit and found that there is no native way to stop that page from showing up.  Since web pages are served by cpsrvd when Apache isn't running, the only option we have would be to disable cPanel from listening on that service and then a custom webserver installed.

    To get cPanel to stop listening you can run this command:

    whmapi1 set_tweaksetting key='disable_cphttpd' value='1' ; /scripts/restartsrv_cpsrvd

    but installing and configuring the webserver would be up to you.

    I would recommend using our features site at features.cpanel.net to submit a request to make this easier to handle in the future.

    0

Please sign in to leave a comment.