Theres no need to use a dns server to create subdomains, you can do all that use virtualhost inside apache/conf/extra/httpd-vhost.conf
and use www.bluebottle.com for your email.
http://xampptutorials.com
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot c:/www/mysite1
ServerName mysite.com
ServerAlias www.mysite1.com
</VirtualHost>
<VirtualHost *:80>
DocumentRoot C:/www/mysite2
ServerName mysite2.com
ServerAlias www.mysite2.com
</VirtualHost>
<VirtualHost *:80>
DocumentRoot C:/xampp/htdocs
ServerName localhost
</VirtualHost>
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
03/20/06 14:42:54
Apache/2.2.0 (Win32) DAV/2 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_autoindex_color PHP/5.1.1
cj_nza wrote:Two things:
1) Virtual host allow you to create a virtual host rather than a subdirectory of an host. The url you supply request a resouce from the mysite.com subdirectory of the host called localhost. The url should be "http://mysite.com" which will allow Apache to serve the files from that virtual host's document root.
2) You have not indicated that you have created an entry that can translate the domain name "mysite.com" to you IP loopback 127.0.0.1
(normally windows\system32\drivers\etc\hosts)
127.0.0.1 localhost
127.0.0.1 mysite.com
127.0.0.1 mysite2.com
Warning: include_once(globals.php) [function.include-once]: failed to open stream: No such file or directory in C:\www\mysite1\index.php on line 29
Warning: include_once() [function.include]: Failed opening 'globals.php' for inclusion (include_path='.;\xampp\php\pear\') in C:\www\mysite1\index.php on line 29
Warning: require_once(/var/www/mysite1.com/includes/version.php) [function.require-once]: failed to open stream: No such file or directory in C:\www\mysite1\includes\mambo.php on line 37
Fatal error: require_once() [function.require]: Failed opening required '/var/www/mysite1.com/includes/version.php' (include_path='.;\xampp\php\pear\') in C:\www\mysite1\includes\mambo.php on line 37
Users browsing this forum: No registered users and 144 guests