Hi, I have a virtualmin install, but wanted to create a simple domain (not to be managed by virtualmin) where I will house a simple php script called pastebin.
I created a domain in webmin by going to Webmin -> Servers -> Apache Webserver. I clicked on Create virtual host tab and went to town.
Here's what the entry looks like in my .conf file:
| Code: |
<VirtualHost *>
DocumentRoot /home/users/kato/domains/pastebin/public_html
ServerName pastebin.zentrack.net
<Directory "/home/users/kato/domains/pastebin/public_html">
Options +Indexes
Allow from all
</Directory>
</VirtualHost>
|
However, when I try to visit the url, it brings up the default virtualhost instead. I verified this by requesting a page that didn't exist and visiting the default log to see what directory it's looking in:
| Code: |
[Fri Aug 01 12:01:19 2008] [error] [client 208.70.78.16] File does not exist: /home/default/public_html/pastebin.php, referer: http://pastebin.zentrack.net/25190
|
Anything else I need to set up to make this work?
Post edited by: kato, at: 2008/08/06 06:49