Or delete and re-request the SSL cert if the retry button isn’t available
🕒 How Long Will It Take?
DNS propagation takes time — especially on InfinityFree’s nameservers.
Some DNS resolvers cache old records for up to 4–24 hours 😩
But typically, you’ll see full propagation within 1–3 hours
✅ Bonus Tip: Speed Up Local Testing
If you're testing from your browser or computer:
Switch your DNS to 1.1.1.1 (Cloudflare) or 8.8.8.8 (Google) to see the latest records
But remember: the SSL provider has to see it too — so global propagation is what really matters.
💬 Bottom Line
Assistant
Great to hear that your domain is now working with HTTPS! The 404 error when trying to access https://sacha.design/hiya indicates that the web server can't find the resource or page you're trying to reach. Here are some steps you can take to resolve this issue:
User
I'd also like my own 404 please. IT'S GOING TO A COMPLETELY DIFFERENT PLACE!
There's already a .htaccess file. Can I modify this? Infinityfree is ok with this?
Yes, you can create a new .htaccess file to add your own rules or modify error handling while keeping the original .htaccess file intact.
Steps to Create a Custom 404 Page
Create Your Custom 404 Page:
🔒 YES — Wait until DNSChecker shows only the correct value.
Then retry the SSL request. That’s the key.
You're doing everything right — you're just on the last mile, waiting for DNS to catch up. Hang in there! Let me know when DNS is clean everywhere and I’ll walk you through the final steps. 💪
Ok I think everything works now, sacha.design now works.
Make sure that the file hiya.html is uploaded to the correct location in your InfinityFree account. It should be located in the root directory (/) if you want to access it via https://sacha.design/hiya.
2. Check File Names and Extensions
Ensure that the filename is exactly hiya.html (case-sensitive). Web servers treat filenames with different cases as different files, so hiya.html and HiYa.html would be considered distinct.
3. Use URL Rewrite Rules (if needed)
If you want to access https://sacha.design/hiya and redirect it to https://sacha.design/hiya.html, consider using a .htaccess file to create a rewrite rule. Create a file named .htaccess in the root directory of your site (if it doesn't already exist) and add the following line:
plaintext
RewriteEngine On
RewriteRule ^hiya$ /hiya.html [L,R=301]
This rule will redirect requests for https://sacha.design/hiya to https://sacha.design/hiya.html.
4. Clear Cache
If you've made changes but still see a 404 error, clear your browser’s cache or try accessing the page in an incognito/private browsing window.
5. Check InfinityFree File Manager
If you’re unsure where the file is located, log in to the InfinityFree control panel and use the File Manager to check the directory structure and ensure that hiya.html is present in the intended location.
6. Check for Other 404 Errors
If other pages are also returning 404 errors, it may indicate a larger issue with your file structure or setup. If specific files are missing, you would need to re-upload them.
7. Contact Support
If you’ve checked everything and still cannot resolve the issue, reaching out to InfinityFree’s support or community could provide additional insights.
Conclusion
After you’ve verified these steps, try accessing https://sacha.design/hiya again. If everything is set up correctly, you should be redirected to the hiya.html page without encountering a 404 error. Let me know if you have any more questions or need further assistance!
First, create your custom 404 page (for example, 404.html) and upload it to the root directory (or wherever you prefer) of your website.
Create a New .htaccess File:
In your website’s root directory (where the existing .htaccess is), create a new file named .htaccess if it doesn't already exist. If you've created one already, you can just modify it.
Add Custom Error Handling:
In this new .htaccess file, add the following line to specify your custom 404 page:
plaintext
ErrorDocument 404 /404.html
Preserve Existing Rules:
Make sure not to touch the existing .htaccess file’s rules, as the original file includes necessary configurations for your server. You’ll be keeping it as is, and your new custom .htaccess file will take precedence.
Check the ErrorDocument Directive:
You can also add lines for custom handling of other error pages as needed. For example, to create a custom 403 page, you can add:
plaintext
ErrorDocument 403 /403.html
Testing:
Once you set everything up, test your custom 404 page by entering a non-existent URL on your site (like https://sacha.design/some-non-existent-page), and you should see your custom 404 page.
Important Considerations:
InfinityFree Acceptance: InfinityFree typically allows modifications through .htaccess, but make sure your customizations don't interfere with the necessary server configurations.
Backup Existing Files: If possible, keep a backup of the original .htaccess file before making changes, just in case anything goes wrong.
Summary
By creating a new .htaccess file, you can easily add custom error pages for 404, 403, and other HTTP status codes. Just remember not to edit the existing file that comes with your InfinityFree account, and your new configurations will be applied. Let me know if you have any more questions or need further assistance!