The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DNSOnly VPS - Default webpage when accessing host

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

  1. ewebza

    ewebza Member

    Joined:
    May 30, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    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:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    I suppose you find it in WHM -> Account Functions -> Web Template Editor -> Default Website Template
     
  3. hgrg

    hgrg Well-Known Member

    Joined:
    Oct 4, 2010
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    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:
    1
    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:
    267
    Likes Received:
    2
    Trophy Points:
    18
    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 :)
     
Loading...

Share This Page