I have a domain to which I have added two subdomains. When trying to connect to the domains, I am getting the error FORBIDDEN: You don't have permission to access / on this server.
Is this because my DNS has yet to reflect the change? It has been about 36 hours since the update was made.
Solved! Go to Solution.
This sounds like while you have pointed the subdomain to the correct IP address, you still need to add (i'm assuming cPanel) the domains to tell it what directory to point to on the server
Thanks for the tip. Is have attached a screenshot of my domains section in cpanel. Everything looks ok.
1) So yes that all looks correct
2) I see the same thing so your DNS looks good
If you go into the file manager in cpanel and look at those 2 folders under public_html - what permissions do they have (might be 644 or 755) if you look at the last column
I appreciate your help!
I changed the permissions to 755 on both directories. I cleared my cache and tried the sites again but they both still have the same error.
can you send a screen capture of the file manager (specifically the left side that shows the tree) I just want to confirm the folders are in the right place
Ok - so it all looks good -
1) I see you have both a www and non www for filterlinksa.com - was that intended or just as you were setting things up
2) do you have an index file in the sub folder?
3) can you get to a file (like an image file) within the sub folder
Yeah initially when I was setting up, I types in www for the subdomain name. Godaddy gave me an error but created the folder anyway. I will delete it.
I have uploaded files and folders into one of the subdomains as shown in the attachment.
You're a legend man thanks. I just realised that by trying to navigate to filterlinksa.com, there was no home or index.html so therefore, it was not resolving to anything.
Thanks for helping me out I really appreciate it!