I’m still seeing the ionos default on my phone, with cache cleared but now see the 403 on my laptop browser.
Thanks for the guide. The first two headings seem most relevant but I can confirm that my directory is linked to the account and it has an index.html file.
Initially set up the domain using the name servers (NS) provided by InfinityFree, as requested.
File and Directory Permissions:
Ensured htdocs directory permissions are set to 0755 and files to 0644.
.htaccess Adjustments:
Tried different .htaccess configurations, including enabling directory listing (Options +Indexes) and simplifying the file to rule out misconfigurations.
Temporarily removed the .htaccess file to test if it was causing the issue.
Testing with Simple HTML:
Created a basic index.html with “Test Page” and placed it in htdocs.
Attempted to access the file directly via the browser, but still received the 403 error.
Domain and Hosting Configuration:
Verified that the domain is correctly set up in InfinityFree as an addon.
Confirmed that the domain is pointing to the correct directory.
SSL/HTTPS:
Checked SSL configuration and tested accessing the site via both HTTP and HTTPS.
DNS Reconfiguration and Reverting Name Server Change:
Reverted the change where I pointed the name servers to InfinityFree after realising it deactivated the domain provider’s DNS, which rendered the email associated with my domain useless.
Instead, managed DNS directly on IONOS by configuring A records to point to InfinityFree’s IP address.
Despite these efforts, the 403 error still remains.
I checked your account and I see you deleted the domain from your account and added it again. While that’s a common troubleshooting step, it’s rarely helpful and has some nasty side effects.
One of those side effects is that it changes the directory of your website from htdocs to motive-tld.com/htdocs. But the latter directory does not exist, which is why you get the 403 error.
To fix this, please move the htdocs directory to the right location:
Note that you’ll still need to add a DNS records for the www subdomain if you want that to work.
just to clarify, when I say “old” and “new”, I’m not looking for those terms specifically… I mean I only have the one domain in my File manager available
Now we go to the location where your old htdocs folder lives it does not live anywhere so I cannot complete this step. This can be the folder of your previous domain name, or the root folder.