Results 1 to 4 of 4

Thread: Website of Main hostname ??

  1. #1
    Registered User
    Join Date
    May 2012
    Posts
    2
    cPanel/WHM Access Level

    Root Administrator

    Default Website of Main hostname ??

    Hello,

    After digging through troves of documentation, tweaking, and days of communication with multiple ISP's we seem to be at a complete loss for a solution on something that SHOULD be insanely simple.

    The problem is this:

    When you configure cPanel it requires a hostname which we have setup, installed a paid SSL cert, and tweaked the services to our particular taste === all working.

    There is a mysterious website when you point your browser to http://[yourcpanelhostname]/ and https://[yourcpanelhostname]/ which is working space visible to the web, using a default index.html page that does a redirect to a subfolder which then talks some stuff about cPanel default host, etc.

    WE WOULD LIKE TO USE that space.

    Aka: If the hostname is 'cp.bob.com' and users go to https://cp.bob.com/cpanel ... or Under Construction ...... we want to put a website up there ---- specifically WHMCS.

    We were able to locate the path of where those files appear to be pulled from in /usr/local/apache/htdocs/ but are unable to do anything aside from rename the index.html file and place another index.html file there. PHP scripts give error 500, so really --- at a total loss

    I want to be completely clear. I am not talking about a user cPanel account. I am talking about the virtual server which is listening on the same host that cPanel and WHM are installed, on the standard ports 80 and 443.

    WHMCS requires IonCube, and some other more basic requirements php related to function. Our goal is to install this application in the root of the visible virtual host that has no cPanel account and is the same hostname of the server.

    The page users get when going there is irritating and overall, this does not make any sense that something so basic has been overlooked --- so either I am blind ---- or this is much more complicated than it needs to be.

    Any ideas on how to do this WITHOUT breaking the server, would be great.

    OS: CentOS 5.7

    Thanks in advance.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Website of Main hostname ??

    Rather than moving index.html file, simply replace the contents of the file from this:

    Code:
    <html><head><META HTTP-EQUIV="refresh" CONTENT="0;URL=/cgi-sys/defaultwebpage.cgi"></head><body></body></html>
    To this:

    Code:
    <html><head><META HTTP-EQUIV="refresh" CONTENT="0;URL=http://domainforwhmcs.com"></head><body></body></html>
    Replace domainforwhmcs.com with the actual domain name that you want to appear.

    If that doesn't work, please submit a ticket in WHM > Support Center > Contact cPanel or using the link in my signature.

    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Registered User
    Join Date
    May 2012
    Posts
    2
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Website of Main hostname ??

    I have a dedicated box from my hosting provider --- root. Where can i find the license information so that I can add to my account and login to the support channel here.

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Website of Main hostname ??

    You can find the information in WHM > Support Center area for the ID to use.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. what is the hostname of website.co.cc
    By csebharat in forum New User Questions
    Replies: 2
    Last Post: 11-16-2009, 03:27 AM
  2. Hostname vs. main domain in Whm
    By Boboss in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 02-08-2007, 09:14 PM
  3. Main IP and associated Website
    By cwhcom in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 01-08-2004, 02:09 AM
  4. May the hostname have a website?
    By Stefaans in forum cPanel & WHM Discussions
    Replies: 7
    Last Post: 09-29-2003, 02:03 PM
  5. Main server ip/hostname is loading another site...
    By Moony1234 in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 05-20-2003, 09:01 PM