Folders on Subdomains do not work (Ubuntu 14.04)

January 29, 2015 2.2k views

When I made a subdomain following this tutorial (https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-12-04-lts) but I cannot access any folders under that. Is there something I am doing wrong?

9 comments
  • What error are you getting when you attempt to access these folders?

  • This usually indicates that your web server is not responding. You are able to load the main page of your subdomain though?

  • @ryanpq yes I can, it works. I was using Cloudflare but switched to your DNS. I have even tried clearing cache etc but not luck.

  • Are you able to access your site directly via your droplet's IP? It sounds like you may have been hitting a cache of your main page as the failure to connect would not happen for some pages and not others as this indicates that your web server is not responding at all.

  • Show 4 more comments
1 Answer

Can someone please help me on this? The visitors to my site are getting confused on what is going on.

Have another answer? Share your knowledge.