I've tried to set up a virtual host but without any luck. The domain is supposed to be "xdrupaldocs.com".
- Entering a URL of "xdrupaldocs.com" alone brings up the default Apache web page.
- Entering "xdrupaldocs.com/index.html" or " brings up the ISP's error page.
I'm stumped.
Here are the files content:
The hosts file does not have the xdrupaldocs.com domain in it; but having it there doesn't alter the result.
----httpd.conf file:
------
- Entering a URL of "xdrupaldocs.com" alone brings up the default Apache web page.
- Entering "xdrupaldocs.com/index.html" or " brings up the ISP's error page.
I'm stumped.
Here are the files content:
The hosts file does not have the xdrupaldocs.com domain in it; but having it there doesn't alter the result.
----httpd.conf file:
Code:
#NameVirtualHost 192.168.1.149:80
NameVirtualHost *:80
#<VirtualHost 192.168.1.149:80>
<VirtualHost *:80>
DocumentRoot /var/[URL unfurl="true"]www/html[/URL]
ServerName localhost
</VirtualHost>
#<VirtualHost 192.168.1.149:80>
<VirtualHost *:80>
DocumentRoot /home/DrupalDocs/htdocs
ServerName xDrupalDocs.com
<Directory "/home/DrupalDocs/htdocs">
Options Includes FollowSymLinks
AllowOverride All
allow from all
Options +Indexes
</Directory>
ServerAlias *.xDrupalDocs.com
ErrorLog /home/DrupalDocs/htdocs/DrupalDocsErrorLog.log
LogLevel emerg
UseCanonicalName off
</VirtualHost>