I had a website running perfectly on my domain, until I wanted to update it. So once I had completed the website on my PC( I built it using Dreamweaver and VS Code), I tested it and it was working fine.
However once I uploaded it to my domain, the website started behaving strangely. If I upload my website (with all the other files of course) to the public_html folder, it doesn’t work as expected, but if I put all the files in a folder inside the public_html folder, then my website works fine.
I’ve tried resetting my domain, it didn’t work.
I have no idea why this is happening… Please help me fix this issue.
No its not… My coding is perfectly fine. Its just that if I put my website in the public_html folder it isn’t working. But if I create a folder inside the public_html folder and then put my website in that then its working