cancel
Showing results for 
Search instead for 
Did you mean: 
Go to solution

Forbidden: You don't have permission to access / on this server.

Hi,

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.

10 REPLIES 10
Super User II
Super User II

Re: Forbidden: You don't have permission to access / on this server.

@filterlink 

 

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

GoDaddy Pro User - Managing over 300 WP Sites

Re: Forbidden: You don't have permission to access / on this server.

Hi PL281,

 

Thanks for the tip. Is have attached a screenshot of my domains section in cpanel. Everything looks ok.

Screenshot 2019-06-10 at 15.30.19.png

Super User II
Super User II

Re: Forbidden: You don't have permission to access / on this server.

@filterlink 

 

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

 

GoDaddy Pro User - Managing over 300 WP Sites

Re: Forbidden: You don't have permission to access / on this server.

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.

Super User II
Super User II

Re: Forbidden: You don't have permission to access / on this server.

@filterlink 

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

 

GoDaddy Pro User - Managing over 300 WP Sites

Re: Forbidden: You don't have permission to access / on this server.

Screenshot 2019-06-10 at 17.17.23.png

Super User II
Super User II
Solution

Re: Forbidden: You don't have permission to access / on this server.

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

GoDaddy Pro User - Managing over 300 WP Sites

Re: Forbidden: You don't have permission to access / on this server.

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.Screenshot 2019-06-10 at 18.04.47.png

Super User II
Super User II

Re: Forbidden: You don't have permission to access / on this server.

@filterlink 

 

I was able to get to http://filterlinksa.com/socialnet/

This would suggest a permissions issue with the files within the main folder 

 

Once the permissions of the files within the folder are set correctly you should be good to go

GoDaddy Pro User - Managing over 300 WP Sites

Re: Forbidden: You don't have permission to access / on this server.

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!