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.

Please help please!

Discussion in 'General Discussion' started by virtualreality, May 6, 2008.

  1. virtualreality

    virtualreality Well-Known Member

    Joined:
    Jan 18, 2008
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Hi cPanel Friend,

    I have just set up WHM and cPanel. However, on my Hostname page http://host.mydomain.com, on my Nameserver NS1 page http://ns1.mydomain.com, and Nameserver NS2 page http://ns2.mydomain.com, I see "Great Success ! Apache is working on your cPanel® and WHM™ Server ......" cPanel webpages.

    How to hide or disable these "Great Success ! Apache is working on your cPanel® and WHM™ Server ......" cPanel webpages on the http://host.mydomain.com, http://ns1.mydomain.com, and http://ns2.mydomain.com?

    Please help!

    Thank you very much indeed!

    David
     
    #1 virtualreality, May 6, 2008
    Last edited: May 6, 2008
  2. LiNUxG0d

    LiNUxG0d Well-Known Member

    Joined:
    Jun 25, 2003
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gatineau, Quebec, Canada
    Hi David,

    Simply log in to the server via SSH or SCP and update this file:

    /usr/local/apache/htdocs/index.html

    This is the default cPanel Apache page.

    Let me know if you have any follow-up questions!

    Warmest regards,
     
  3. virtualreality

    virtualreality Well-Known Member

    Joined:
    Jan 18, 2008
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Hi LiNUxG0d,

    Thank you very much for your help!

    Yes, I do see the HTML files for the cPanel Apache pages, via SSH.

    What's the best way to update this file? Write a HTML page with my own words? I prefer just to hide this file (/usr/local/apache/htdocs/index.html) to show online. If it's possible, how to do that? Or redirect the webpages of Host.mydomain.com, NS1.mydomain.com, NS2.mydomain.com to the http://www.mydomain.com/index.html. How to do that via SSH?

    Please help with more technical advices!

    Thank you very much from my heart!

    David
     
  4. LiNUxG0d

    LiNUxG0d Well-Known Member

    Joined:
    Jun 25, 2003
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gatineau, Quebec, Canada
    Hi David,

    You can always rename it:

    mv index.html index.bak.html

    And then you can create a new one and leave it blank.

    touch index.html

    That should create a blank one for you.

    Give it a go if you want, works well for me. Glad to help!

    Warmest regards,
     
  5. virtualreality

    virtualreality Well-Known Member

    Joined:
    Jan 18, 2008
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Thank you very much LiNUxG0d!

    Let me try your ways.

    It is very kind of you to help me!

    I sincerely wish you all the best!

    Truly yours,

    David
     
Loading...

Share This Page