Not able to access website using domain name, everytime gets 500 Error

Status
Not open for further replies.

himanshuarora198889

New Member
Messages
11
Reaction score
0
Points
1
Hi,
Currently i am facing two issues:

Issue 1: I am not able to access website using domain name (http://himanshuarora.co.in), everytime i gets 500 Error. For accessing it i have to manually mention my index.html files as http://himanshuarora.co.in/index.html Please help in this issue. Earlier it was automatically links with index.html or index.php

Issue2: I am not able to see images at my website when accessed through http://himanshuarora.co.in/index.html
I kept all images in "images" folder under "public_html" and mentioned in code of index.html as <img src="images/gray_01.gif">. Please help.

Thanks in advance,
Himanshu
 

Smith6612

I ate all of the x10Pizza
Community Support
Messages
6,517
Reaction score
48
Points
48
Check your public_html folder for a .htaccess file. If you're using the cPanel File Manager, you will need to enable the viewing of hidden or "DOT" files in order to find it. If you see an .htaccess file, rename it to htaccess.txt and see if your site starts to work again. Also, double check to make sure your files do not have their permissions set to 777. 644 should be the permissions for Files, and 755 the permissions for folders.
 

himanshuarora198889

New Member
Messages
11
Reaction score
0
Points
1
Hi,
Issue 1 is resolved. Thanks
But Issue 2 still exists. I am not able to see images at my website when accessed through http://himanshuarora.co.in/index.html
I kept all images in "images" folder under "public_html" and mentioned in code of index.html as <img src="images/gray_01.gif">. I kept permission of folders to 755 and files to 644. Please help.
 

Smith6612

I ate all of the x10Pizza
Community Support
Messages
6,517
Reaction score
48
Points
48
Verify that there is not a .htaccess file inside of the Images folder as well. What might also be causing problems would be if you have Hotlink Protection enabled in the account and it is misconfigured. That can be checked under cPanel's Security section.
 
Last edited:

himanshuarora198889

New Member
Messages
11
Reaction score
0
Points
1
Hi,
There is no .htaccess file under my images folder and Hotlink protection is diabled in my account. By the way i am not using direct link to access images, i am using relative paths for accessing images as <img src="images/gray_01.gif">
 

Smith6612

I ate all of the x10Pizza
Community Support
Messages
6,517
Reaction score
48
Points
48
I'm able to see your images folder, but I do get a Forbidden error trying to open any image found inside of that folder. I would definitely verify the file permissions again, making sure Files are 644, and the Images folder has a CHMOD of 755. That's really the only thing I can think of that may have been overlooked or mistaken that would cause such an issue at the moment.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
For future reference (in case some one else has the same problem), exactly what did you do to fix the problem?
 

Smith6612

I ate all of the x10Pizza
Community Support
Messages
6,517
Reaction score
48
Points
48
Not a problem. Looks to be working fine from my end as well.
 
Status
Not open for further replies.
Top