Can't Access Website Internally.

Posted April 27, 2020 1k views
ApacheWordPressLAMP StackUbuntu 18.04

I can’t access my website from my business campus. The DNS records are set up correctly, but the IT company my company uses is saying that I have www directing to the non-www domain.

I checked .htaccess and the domain.conf file but I don’t see anything that looks like it could cause any redirects or rewrites…

Any suggestions?

It’s a wordpress site running on Lamp Stack.


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there @echilders,

The www to non-www redirect should not really prevent the website from loading, as long as you have DNS records for both your www and the non-www versions of your domain name.

I would recommend asking the IT company to provide you with the exact error that they get and possibly a screenshot. I would recommend asking them to run a traceroute as well to see if the connection is getting to the server.

Regarding the redirect itself, it is probably because of your WordPress Site and home URLs. Via your WordPress admin, you can change the site and the home URLs to the preferred version.


  • Thanks @bobbyiliev! I’ll have them do that. the wordpress site url and home URL are both Should they be in a different format? Should it have www before it?

    • Hi there @echilders,

      No problem at all, let me know how it goes!

      Regarding the www vs. the non-www, I would say that it is a matter of personal preference. For example, I have all of my sites redirecting from www to non-www but it is totally alright to have it the other way around.

      Hope that this helps!