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.
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
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.
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.
@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?
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.
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
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.