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.

Uploading Website

Discussion in 'Data Protection' started by Taska, Mar 14, 2007.

  1. Taska

    Taska Registered

    Joined:
    Mar 14, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I think I must have missed something obvious, but I can't seem to get the server to show any uploaded content.

    I have uploaded content to the public_html folder, but this cannot be found and I still get the default cpanel place holder.

    Any help, especially the obvious :)
     
  2. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    The default page on Cpanel only shows when the account doesn't exist
    or the DNS for the domain of the account has not been setup properly.

    Given that you said you uploaded to the "public_html" folder then
    I will presume that the account has been created where you are at.

    Logically, one must presume then that the DNS for the domain on your
    account either has not been setup or has been setup incorrectly.

    One of the most common mistakes I see people make in this business
    is setting their domains to redirect to the DNS server IPs instead of
    changing their domains to use the DNS servers provided by their host.

    For example, say the host tells you to set the following:

    ns.domain.com 1.2.3.4
    ns2.domain.com 1.2.3.5

    Instead of setting your domain to use those DNS servers,
    you instead setup an IP pointer to 1.2.3.4 at your register.

    In that example, you would see the Cpanel default page because
    your domain's DNS isn't setup correctly at your registrar and is
    pointing to the DNS ips instead of using the DNS to resolve the
    correct host IP for your hosting account.
     
    #2 Spiral, Mar 14, 2007
    Last edited: Mar 14, 2007
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Another thing that could cause the placeholder to remain is if you haven't overwritten index.html or deleted it.

    I remember one time I was frustrated because I had my entire site uploaded but still got the placeholder page, and it was because the homepage for the site was index.php rather than index.html (which was the filename for the placeholder page). Deleting index.html fixed that problem for me.

    Just remember that the filename for homepage for your website should be index.htm, index.html, index.php or something along those lines.
     
    #3 cPanelDavidG, Mar 15, 2007
    Last edited: Mar 15, 2007
  4. Taska

    Taska Registered

    Joined:
    Mar 14, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I have the primary and secondary nameservers set in the 'Basic cPanel/WHM Setup'

    but still no joy. I think I am missing something or have a lack of understanding of how this set up works.

    The server is being setup as a backup for the current live site.

    I have setup an account in whm mydomain.com and can access the file structure through cpanel and ftp.

    I am accessing the server by its ip at the moment i.e. for cpanel 1.2.3.4/cpanel, should this ip point to my site when everything is set up correctly?

    Also concerning the index.html, I created one for the root of my site in public_html, but did not find the original to delete
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If you enable mod_userdir in Tweak Security (or in cPanel 11, Security Center) then you can access the website by 1.2.3.4/~username where 1.2.3.4 is your IP address and username is the username for that cPanel account.
     
Loading...

Share This Page