Jump to content
The Uniform Server Community

Website does not render correctly on remote browser


billyray
 Share

Recommended Posts

Hi Everyone,

I am hoping that is an easy solution and that I have just not been looking in the right places. I have setup Uniserver once before and everything worked great but this time I am pulling my hair out which is not a good idea for a guy with not much to begin with.

 

at any rate My websites display perfectly on localhost, but I lose the header and other formatting on the remote browser. also it will only show the IP address. If I type in the domain name the site will come up but the domain name does not show. I have been over windows host file, the virtual host file and everything else i can think of so I must now ask for your learned council on the subject. I hope that this is enough information. if not I can send you whatever you need. I just know it is something Reeeaally stupid I am missing.

 

Thanks in advance

 

ps this I am running the 5.5 Nano version and Wp 3.1.1 if that makes a difference.

Link to comment
Share on other sites

Thanks for saying what UniServer version you're using.

 

I've had this type of problem myself, and I vaguely recall that it was related to the .htaccess files.

Those "Allow From" lines can be very tricky. In my www\.htaccess I put

 

Allow from 127.0.0.1 192.168

 

so that I can access the server from other machines on my LAN. My home LAN is on 192.168.3.xx and work is on 192.168.5.xx. By specifying only the 192.168, both those LANs work with my UniServer (it's on a USB drive). For externally available sites, you have to open it much further, and I think you have to change the whole block. It's in the Apache manual. :(

 

If you're using IPv6 though, we're in a different situation.

Hope that helps; give us some feedback.

Regards,

BobS

Link to comment
Share on other sites

  • 1 month later...

Thanks for saying what UniServer version you're using.

 

I've had this type of problem myself, and I vaguely recall that it was related to the .htaccess files.

Those "Allow From" lines can be very tricky. In my www\.htaccess I put

 

Allow from 127.0.0.1 192.168

 

so that I can access the server from other machines on my LAN. My home LAN is on 192.168.3.xx and work is on 192.168.5.xx. By specifying only the 192.168, both those LANs work with my UniServer (it's on a USB drive). For externally available sites, you have to open it much further, and I think you have to change the whole block. It's in the Apache manual. B)

 

If you're using IPv6 though, we're in a different situation.

Hope that helps; give us some feedback.

Regards,

BobS

 

 

 

Hi Bob, thanks for the reply. I meant to get back to you sooner but 'LIFE' happened.

So , here is where I am now. I gave up on wordpress for the moment and built a static webpage.

I can access the site and it displays correctly . Everything works but I still cannot get it to display the

domain name. It will come up if I type the URL or the domain name but it shows only the URL in the search Bar.

I have traced it all the way back to my registrar. the site www.metaldetectingfinds.net is assigned to 75.79.72.XXX just as it is supposed to be.

my winodws host file is:

 

# Copyright © 1993-1999 Microsoft Corp.

#

# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

#

# This file contains the mappings of IP addresses to host names. Each

# entry should be kept on an individual line. The IP address should

# be placed in the first column followed by the corresponding host name.

# The IP address and the host name should be separated by at least one

# space.

#

# Additionally, comments (such as these) may be inserted on individual

# lines or following the machine name denoted by a '#' symbol.

#

# For example:

#

# 102.54.94.97 rhino.acme.com # source server

# 38.25.63.10 x.acme.com # x client host

 

 

127.0.0.1 localhost

127.0.0.1 localhost:80

 

 

 

#127.0.0.1 www.metaldetectingfinds.net

75.79.72.xxx www.metaldetectingfinds.net

75.79.72.xxx metaldetectingfinds.net

ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ

 

and this is my HTTPD CONF file;

 

NameVirtualHost *:80

 

#====== DEFAULT VIRTUAL HOST ===========

# LOCALHOST

<VirtualHost _default_:80>

# ServerName localhost

# DocumentRoot C:/UniServer0/www

</VirtualHost>

 

### Section 4: Secure section

 

# Secure (SSL/TLS) connections

# Include conf/ssl.conf

#

# Note: The following must must be present to support

# starting without SSL on platforms with no /dev/random equivalent

# but a statically compiled-in mod_ssl.

#

#<IfModule ssl_module>

# SSLRandomSeed startup builtin

# SSLRandomSeed connect builtin

#</IfModule>

 

<IfModule mod_ssl.c>

Include conf/ssl.conf

</IfModule>

 

 

 

##########VIRTUAL HOST SETUP##########

# WWW.METALDETECTINGFINDS.NET

<VirtualHost 75.79.72.XXX>

ServerName www.metaldetectingfinds.net

DocumentRoot C:/UniServer0/www/newmetal/html

</VirtualHost>

 

I cannot find the problem. Is there somewhere else I need to look.

 

I have a total of 8 static IP's. one for Uniserver and 7 more for my sites.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...