URL stopped working

Status
Not open for further replies.

jonas_thorn_1691

New Member
Messages
4
Reaction score
0
Points
0
Hi was just wondering. I'm a bit new to hosting website and created one through your site. It worked perfectly for like one hour. Then for some reason I get 404 error when connecting to it. "http://bergalid.x10.mx/home/bergalid/public_html/index.html" the files are there when checked at ftp.
Please help!
 

Anna

I am just me
Staff member
Messages
11,782
Reaction score
594
Points
113
The correct url for your site would be: http://bergalid.x10.mx/

"/home/...." is an internal path only and never used live.
The address you posted would actually indicate that the server should look for the files you request at an internal path that looks like: /home/bergalid/public_html/home/bergalid/public_html/index.html where the red part is the internal and the green part what actually is "live", in other words that you should have a folder structure home/bergalid/public_html/ INSIDE the public_html you see at the root of your account in filemanager.
 
Last edited:

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

The public_html file is your "web root". Whatever files placed in there via FTP or other means act as what appears when you go to the root of your site's URL. In this case: http://bergalid.x10.mx
In other words, there's no need for any of the /home/.... and so on. Just put /index.html. It doesn't even need that, as an index file is automatically shown when a user navigates to the directory. Any directories made in the public_html folder then form the next bits of your URL. For example if I made a folder called "folder" in public_html, then its contents would appear at: http://bergalid.x10.mx/folder.

Thanks.
 

jonas_thorn_1691

New Member
Messages
4
Reaction score
0
Points
0
Thanks for the immidiate response! Though it didnt help me :(

I seem to have deleted all folders/files except my files (website) in the /public_html/ folder on the ftp. Might be the reason why it doesn't work anymore. Cause I can't seem to access my index.hmtl file through http://bergalid.x10.mx/index.html or any other searchpath/file either :(

Just weird that site worked perfectly like an hour ago and I havent changed anything. I only get to the "default page" when trying to connect to the URL.
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

Please clear your browser cache and restart your browser, then try again. I can see it with no issues.

Thanks.
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

It probably wasn't you. Your computer just had an old "cached" version of the site. If you went to the URL before it was fully active then that would have caused the problem. Hence why we could see it with no problems.

Thanks.
 
Status
Not open for further replies.
Top