Cpanel question

Discussion in 'HTML & Website Design' started by christian231, Nov 26, 2007.

  1. #1
    For those of you who's sites use Cpanel as your control panel, I have a question maybe you can help me with.

    I've created an add on domain name in the cpanel and have another domain name, hosted elsewhere, pointed to that add on domain name. When I create a page in the folder I created for that add on domain, for some reason I cant get any images to show. I've put the images in the main Images folder for the domain, I've created an images folder in the subdomain folder..but it just can't find the images. Anyone else ever have this issue and figure out how to fix it?
     
    christian231, Nov 26, 2007 IP
  2. Investor1

    Investor1 Well-Known Member

    Messages:
    950
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    125
    #2
    Do you have ./images/imagename.gif or do you use domain/images/imagesname.gif ?

    In the code to those images or?

    And CHMOD your images folder to 755
     
    Investor1, Nov 26, 2007 IP
  3. christian231

    christian231 Well-Known Member

    Messages:
    1,509
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    140
    #3
    I have it as /images/imagename.gif

    Please clarify CHMod folder to 755. Thanks.
     
    christian231, Nov 26, 2007 IP
  4. WiiWorld

    WiiWorld Peon

    Messages:
    247
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ok i need to find a good site that checks for html,css errors and tells me how to fix it
    also in a cpanel where do i go to edit my sites source code
     
    WiiWorld, Nov 26, 2007 IP
  5. getwiththeprogram

    getwiththeprogram Peon

    Messages:
    120
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You can use http://validator.w3.org/ to check your HTML is valid, there is also a CSS checker there, they set the web standards and its always a good idea to get your code valid and clean.

    To edit files on cpanel you can use the file manager to view the files, but its easier to have a local copy to make the changes then ftp or file manager to your site.
     
    getwiththeprogram, Nov 26, 2007 IP
  6. viratshah

    viratshah Peon

    Messages:
    305
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If you're using filemanager/filezilla or anyother ftp software:

    Right click on the images folder...
    go to: CHMod
    and enter permission as: 755
     
    viratshah, Nov 26, 2007 IP
  7. christian231

    christian231 Well-Known Member

    Messages:
    1,509
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    140
    #7
    I got it figured out...for anyone who runs into this issue. In the cpanel there's an icon that says Hotlink Protection. You have to add your subdomains to a list that allows the images to be shown. Easy as that.
     
    christian231, Nov 27, 2007 IP