Site works fine when logged on directly to the server
-
I installed WordPress 3.5.1 on my Apache2.15 server on my home network. The Apache server currently hosts 3 web sites – Mythweb, Moodle 2.02, and WordPress just installed.
In my /var/www/ folder I have 3 folders Moodle, Mythweb and WordPress.
When I connect to all the sites when logged into the server directly everything works fine however from each of my client machines, whether running windows IE8 to Ubuntu 10.10 and Firefox I can connect to the word press site //Servername/wordpress/ however the client machines load a text based version of the home page. If I select the logon link it fails “not found at localhost port 80 as it attempts to connect to //localhost/wordpress/wp-login.php however if on the browser I replace localhost with the servers hostname it navigates to again a test file version of the login page. It is like the CSS is not applied.Two issues here 1) – Styles not applied when clients connect and 2) it is not navigating using localhost from client machines.
I noticed that the setup instruction seems to suggest that the 17 files in the root of the wordpress download extract need to be in the www root whereas in my installation they are in the www/wordpress folder. What it actually says to copy all except the wordpress folder without explicitlly mentioning its root contents. You would not normally expect to scatter files in the WWW root of a shared server but is this what I need to do to resolve? This part of the installation instructions is very poor as they mention to not copy the wordpress folder with no mention of the 17 files it contains. A few example directory structures showing a few different scenarios would be so helpful but are missing so you are left to interpret the meaning of text.
I find it strange that it all works perfectly when logged on direct to the server which has virtual hosts configured for all 3 sites configured in the HTTPD.conf file. This file should apply equally to all client machines on the same LAN accessing the same wordpress site including the server itself. These is obviously something I am missing and any suggestions would be most appreciated.
- The topic ‘Site works fine when logged on directly to the server’ is closed to new replies.