jayuk20 Posted April 17, 2012 Report Share Posted April 17, 2012 I just installed US on Windows 7 and set up vhosts the following way: <VirtualHost _default_:80> DocumentRoot C:/UniServer/www ServerName localhost ErrorLog "logs/error.log" CustomLog "logs/access.log" common</VirtualHost> <VirtualHost *:80> ServerAdmin firstname.lastname@example.org DocumentRoot C:/UniServer/www/mydomain.com ServerName mydomain.com ServerAlias www.mydomain.com *.mydomain.com ErrorLog logs/mydomain.com-error.log CustomLog logs/mydomain.com-access.log common<Directory "C:\UniServer\www\mydomain.com"> Options Indexes Includes AllowOverride All Require all granted</Directory></VirtualHost> In httpd.conf ServerName www.mydomain.com:80 Listen 80 In .htaccess Order Deny,AllowDeny from allAllow from 127.0.0.1 192.168Allow from ::1 Also when I ping my domain it comes back as 127.0.0.1 when it should be my IP address. My DNS is hosted with No-IP Plus. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.