How to operate the cpanel?

Discussion in 'CSS' started by bluestar, Feb 12, 2009.

  1. #1
    I am confused regarding operating the cpanel of my new website and so i request anyone to let me know in which menu of the cpanel i can add my CJ code or adsense code.
     
    bluestar, Feb 12, 2009 IP
  2. bweller

    bweller Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    cPanel is a common system that web hosts provide to allow folks to administer their websites without having to use SSH, etc.

    You, I presume, want to add your adsense code, etc to a website that is hosted on a server which provides access via cPanel? Is that correct?

    If so, you want to either:
    a) find the "File Manager" utility within cPanel, open it, navigate to the file you wish to add your code snippet to and insert it in the proper position, or...
    b) (recommended) access your site via FTP, download the files you wish to add the code snippets to, add them, test them locally in your browser, and re-upload them. Make sure that your file permissions are correct to allow read access to your updated files.

    Good luck! I'll keep an eye on this thread in case you have some more questions!
     
    bweller, Feb 14, 2009 IP
  3. bluestar

    bluestar Well-Known Member

    Messages:
    288
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    121
    #3
    Thanks for your valuable advice. Yes, exactly i want to add my adsense code via cpanel and i did try to download the files via FTP but cudn't open it and i do not know the reason why its so. The other option i didnt understand coz when i clicked the File Manager i found many icons like
    public_ftp,public_html, tmp and thats confusing. Can you help me in anyway plz?
     
    bluestar, Feb 14, 2009 IP
  4. tloosle

    tloosle Active Member

    Messages:
    460
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #4
    tloosle, Feb 14, 2009 IP
  5. CrystalsQuest

    CrystalsQuest Peon

    Messages:
    78
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    cpanel manages your website. Your CJ code needs to go into a web PAGE. If you haven't uploaded one, you need to create one first. Put it in public_html so that it can be seen on the web.

    Best bet might be to check down the left side of your cpanel and see if you have something like 'site builder' or 'site studio' listed - it's a quick wizard that lets you create your web pages without having to upload them. Once your page is created, you can open it within cpanel and add your code where you like.
     
    CrystalsQuest, Feb 15, 2009 IP
  6. bweller

    bweller Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Sorry for the delay in response. If you're able to get on via FTP, that's a good step. You want all of your files to be uploaded into the public_html directory on your site. That is the so-called "root directory" for your site. You want to create your "home page" html file, embed the code provided by adsense, etc. into it in the proper position relative to your content and save it as "index.html" (minus quotes). All other files should have different names, and you can link to them from your index.html file. Have you already got all of your content files for your site created? Are they online? How do you create / edit your files? WYSIWYG editor, or hand-coding?
     
    bweller, Feb 15, 2009 IP