Sorry I have NameVirtualHost <a href="http://192.168.0.105">192.168.0.105</a> on the first line and <VirtualHost <a href="http://192.168.0.105">192.168.0.105</a> > on the second line.<br>Meg<br><br><div class="gmail_quote">
On Feb 3, 2008 8:40 PM, Ashley Benton <<a href="mailto:meggalen@gmail.com">meggalen@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ok I thought that what I had done but apparently not. What would be the address of my server? the IP of the computer over the network which is <a href="http://192.168.0.105" target="_blank">192.168.0.105</a>, the <a href="http://127.0.0.1" target="_blank">127.0.0.1</a> which is the hostname or something like that or the public IP. I think I tried them all but I can try again, maybe I missed something. I'd like to know how to find the server address that would avoid me to changed all my files again and again for nothing since I don' t seem to get the basic which is what is my server address.<br>
Yes I have VirtualHost <a href="http://192.168.0.105" target="_blank">192.168.0.105</a> on the first line and <VirtualHost <a href="http://192.168.0.105" target="_blank">192.168.0.105</a> > on the second line. Do I need to write it somewhere else?<br>
Thank you <br>Meg<br><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Feb 3, 2008 8:22 PM, Karl Auer <<a href="mailto:kauer@biplane.com.au" target="_blank">kauer@biplane.com.au</a>> wrote:<br></div>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
<div>On Sun, 2008-02-03 at 19:48 -0500, Ashley Benton wrote:<br>> Ok I tried and changed NameVirtualHost <a href="http://192.168.0.105" target="_blank">192.168.0.105</a> for all virtual<br>> hosts and I still got the same result. You can see only the first<br>
> <NameVirtualHost <a href="http://192.168.0.105" target="_blank">192.168.0.105</a>><br><br></div>Well, you need the NameVirtualHost directive; that specifies the address<br>of your server. All your named virtual hosts will then specify this<br>
address. Inside the virtualhost you need to specify the name of the<br>specific site. Something like this:<br><br>NameVirtualHost <a href="http://1.2.3.4" target="_blank">1.2.3.4</a><br><br><VirtualHost <a href="http://1.2.3.4" target="_blank">1.2.3.4</a>><br>
DocumentRoot "/path/to/site/data"<br> ServerName <a href="http://www.mydomain.com" target="_blank">www.mydomain.com</a><br> <Directory "/path/to/site/data"><br> ...<br> </Directory><br>
</VirtualHost><br><div><br>> I have to put a different internal address and how do I tell the<br>> computer to add another internal address?<br><br></div>No, you don't need additional addresses - that is the point of named<br>
virtual hosts. You only need separate addresses if you will be doing<br>SSL.<br><div><br>> I tried to put the first with my public IP and the others with<br>> <a href="http://192.168.0.105" target="_blank">192.168.0.105</a> but it didn't change the result.<br>
<br></div>Not all virtual hosts have to be on the same address. You can have more<br>than one NameVirtualHost directive and group sites together. In your<br>case, however, just use one until you have the basics worked out :-)<br>
<br>BTW, next time post your entire config file.<br><div><div></div><div><br>Regards, K.<br>--<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Karl Auer (<a href="mailto:kauer@biplane.com.au" target="_blank">kauer@biplane.com.au</a>) +61-2-64957160 (h)<br>
<a href="http://www.biplane.com.au/%7Ekauer/" target="_blank">http://www.biplane.com.au/~kauer/</a> +61-428-957160 (mob)<br><br>GPG fingerprint: DD23 0DF3 2260 3060 7FEC 5CA8 1AF6 D9E3 CFEE 6B28<br>Public key at : <a href="http://random.sks.keyserver.penguin.de" target="_blank">random.sks.keyserver.penguin.de</a><br>
<br></div></div><br></div></div><div class="Ih2E3d">--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank">ubuntu-users@lists.ubuntu.com</a><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
<br></div></blockquote></div><br>
</blockquote></div><br>