billyray Posted April 21, 2011 Report Share Posted April 21, 2011 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. Quote Link to comment Share on other sites More sharing options...
BobS Posted April 21, 2011 Report Share Posted April 21, 2011 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 Quote Link to comment Share on other sites More sharing options...
billyray Posted May 21, 2011 Author Report Share Posted May 21, 2011 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 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 localhost127.0.0.1 localhost:80 #127.0.0.1 www.metaldetectingfinds.net75.79.72.xxx www.metaldetectingfinds.net75.79.72.xxx metaldetectingfinds.netZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 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.netDocumentRoot 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.