403 Forbidden But can't seem to find the problem after checking the knowledge base

rewardboo.com

Error Message

Other Information

I’m experiencing issues with my website displaying an error (screenshot above). I’ve thoroughly reviewed all my DNS settings. I use Cloudflare and have verified the domain with IF CNAME and IP (A-type) given on my account. I’ve also checked my files, thinking they might be the problem. They were properly uploaded in the .htdocs directory, and I have an index.html file. Initially, the files were uploaded as folders, but I had to delete the folders and upload the files individually. I’ve attempted to search through the knowledge base and forum for solutions before reaching out, but it seems like something is amiss, and I can’t pinpoint the exact issue.

@unknoxx

the default behavior is a 403 error when the server cannot find the index.html or index.php file in /htdocs but its worth looking at your hosting to see if /rewardboo.com/htdocs exists and if this is the case then upload your files there instead


the reason is that if you choose addon domain then a new addon website will have been created /rewardboo.com/htdocs so you’ll have to upload there

but if you choose parked domain then it will point to your original /htdocs

you could remove the addon domain and then use parked domain if you wish

3 Likes

Hello @lovebug,

Thank you for your response. I have verified that rewardboo.com/htdocs exists and was selected when I added my domain, (not in the control panel), but on the dashboard while setting up my hosting account.

I have uploaded my document in the htdocs folder with an existing index.html file (unless I’m doing it wrong?).

fileIF

In terms of the domain name, it’s listed as an addon domain after checking the control panel.

addoonIF

However, I do not understand the meaning of your statement:

“you could remove the addon domain and then use parked domain if you wish.”

Does this mean I should remove the addon domain in the control panel and then add it as a parked domain?

Is there index.html or index.php file in this folder?

2 Likes

Yes, that’s not correct.

As you can see in the client area, the directory of your account is rewardboo.com/htdocs. But you uploaded your website to the directory htdocs. That’s a different location, so any files uploaded there will not be accessible for your website.

Please create a new folder in the root folder of your account (the one with the DO NOT UPLOAD FILES HERE file) with the name rewardboo.com, and move the htdocs folder into this new folder.

4 Likes

@Admin
Thank you for your help. I have successfully resolved the issues, and my static website is now fully functional. Just to clarify, if I were to add a custom domain such as example.com or example.com/htdocs, would I need to create a new htdocs directory/folder separate from the one that already exists?

Yes, there is. Thank you for your request. The admin was able to resolve it for me!

If you add a domain, say example.com, then the system should automatically create a directory with the name example.com/htdocs, for you to upload your website to. I don’t know why that directory was missing for your account, maybe it didn’t get setup correctly, or maybe it was deleted by accident.

If you want to assign a domain to an existing website, you can setup the domain as a Parked Domain to a domain name that’s already assigned to your account.

3 Likes

I see, I think it could be because it wasn’t set up well while creating the account, I’ll try to understand more about this parked domain.

basically parked domain parks your domain name to your original /htdocs

addon domain is for adding websites to your hosting so its possible to add multiple domain names to your hosting each one will have its own uniqueSiteName/htdocs for running multiple different websites from your same hosting storage space

4 Likes

Everything was setup well when you created your account, as far as I can tell. But then you proceeded to delete the domain from your account and add it back.

But by doing so, the domain was added as an Addon Domain, which means it gets it’s own directory separate from the main htdocs directory. That’s how the system is designed to work.

4 Likes

2 posts were split to a new topic: 403

I see now! Thank you!

Noted! I can see the difference now! Thanks for the explanation

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.