Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

DNSOnly VPS - Default webpage when accessing host

Discussion in 'Bind/DNS/Nameserver' started by ewebza, Jan 4, 2013.

  1. ewebza

    ewebza Member

    Joined:
    May 30, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    I've just set up a new VPS with cPanel DNS Only, when I browse to the hostname of the DNSOnly server it gives me the default CentOS Apache page. How do I edit this page? Where is the default web directory located so I can create a bounce page to my web server? I've tried /var/www/html but that is not it.

    For interests sake - my setup:

    1) Primary Webserver & Primary DNS = primary-server
    2) DNSOnly Secondary DNS = dns-server

    - primary-server has dns-server setup under DNS cluster as "Synchronize changes"
    - dns-server has primary-server setup under DNS clusterr as "Standalone"

    If anyone can confirm that this is correct, that would be great :) as far as I've researched it is..
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    I suppose you find it in WHM -> Account Functions -> Web Template Editor -> Default Website Template
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. hgrg

    hgrg Well-Known Member

    Joined:
    Oct 4, 2010
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Root Administrator
    well you should check /etc/apache2/apache2.conf :) and the includes for the default content folder..
     
  4. ewebza

    ewebza Member

    Joined:
    May 30, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    DNSOnly doesn't have that directory.

    @quietFinn - DNSOnly doesn't have an Account Functions section either.

    I found that it is actually /var/www/html but it doesnt recognize index.php as the default index file; problem fixed.

    Thanks for the suggestions.
     
  5. Vinayak

    Vinayak Well-Known Member

    Joined:
    Jun 27, 2003
    Messages:
    276
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Bharat
    cPanel Access Level:
    Root Administrator
    Although this thread is a bit old, but would it not be better to stop HTTPD and save some memory :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice