• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

multiple domains

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

RoD

Member
Joined
Feb 7, 2003
Location
NJ
ATM im using zone-edit.com to host my .com from my computer with mysql and apache servers. My buddy just got a .com and i want to host it for him, so i went to zoneedit and added his .com also.

My question is, once it becomes active, is it possible to host them on the same servers or do i need to make a second appserv install? Will it create a second mysql and apache server?

basically i dont want to conflict the two domains because both will be pointing to my static ip.
 
yea i have phpmyadmin, ill check out those links tomorrow, thnx man!
 
ok i followed that and anytime they hit in the .com's they go straight to my file list. For example, they arent going to the /www/domain folder, but rather the /www folder and showing a list of my directories.

Here is how its setup, right to the guide.

### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at <URL:http://www.apache.org/docs/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
NameVirtualHost *

<VirtualHost *>
ServerName www.wacker7.com
DocumentRoot /www/phpnuke
ServerPath /www/phpnuke
</VirtualHost>

<VirtualHost *>
ServerName www.arcadia-studios.com
DocumentRoot /www/Arcadia
</VirtualHost>

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
# ServerAdmin [email protected]
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
 
should look something like this

<VirtualHost *>
ServerName test.fragtheworld.net
ServerAlias www.test.fragtheworld.net
DocumentRoot /home/test/public_html
ErrorLog /home/test/logs/error_log
CustomLog /home/test/logs/access_log common
ScriptAlias /cgi-bin/ /home/test/cgi-bin/
<Directory /home/test/public_html>
Options Indexes IncludesNOEXEC FollowSymLinks
</Directory>
</VirtualHost>

that will not allow cgi access but you can change it to "+IncludesEXEC and it will grant cgi access
 
that, even configured to my site, wont allow apache to start.
 
1.3 Config's fine if i dont do it that way
 
I am in the process of using dyndns.com to host my domain. I am going to use a server 2003 box. I am assuming I will need to setup the web server portion. I am gonna try to get this done by the end of the weekend. If i have any questions hopefully you can help me out.
 
well i could help you out actually, I'm not a fan of IIS but i live with my gf's parents and lookey, they both work for MS and her dad is certified in nt and up ;)

so i could probably help, and if not he can.

also are you planning to use IIS or Apache's port?

on a side note can i convince you to use unix..linux..anything else but windows to host :p
 
Back