 |
Apache2Triad Help, Support and Development The apache2triad help , support and development forums
|
| View previous topic :: View next topic |
| Author |
Message |
saad
Joined: 19 Apr 2006
Posts: 1
|
| Posted: Wed Apr 19, 2006 3:29 pm Post subject: How Do You Host Multiple Sites With Apache2Triad? |
|
|
Hi there,
I am tech guru and I do a few web jobs here and there and there and I have chance to send my home server to a data center for free. Now my sever is running Windows 2003 Server Standard and its a really nice server. My question is how do I host multiple sites on one computer? Do I make partitions? What should I do? |
|
| Back to top |
|
Joshua Meadows (DemoRic)
Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas
|
| Posted: Thu Apr 20, 2006 10:40 pm Post subject: |
|
|
There is no need for separate partions for each host (although you can). See
http://apache2triad.net/forums/viewtopic.php?t=21 for virtual hosts.
Also, note you may want to make a virtual host just for localhost
For Example:
Quote: ## =========================================================
# Virtual Host Section http://httpd.apache.org/docs-2.0/vhosts/
NameVirtualHost *:80
#localhost
<VirtualHost localhost:80>
ServerAdmin admin@yoursite.com
DocumentRoot c:/apache2triad/htdocs
ServerName localhost
ErrorLog logs/localhost_error.log
CustomLog logs/localhost_access.log common
#display php errors
php_value register_globals 0
php_value error_reporting 2047
php_value display_errors 1
</VirtualHost>
Also, if you have 3 drives on your server, but not RAID you can make a software RAID array, and install your server (and change your virtual memory) to that drive. http://jaydium.servehttp.com/TempShareFolder/SoftwareRAID.htm |
|
| Back to top |
|
Camac
Joined: 30 Jan 2006
Posts: 22
Location: Australia
|
| Posted: Fri Apr 21, 2006 1:41 am Post subject: |
|
|
| or use mine http://forum.diywebserver.com/index.php?topic=3986.0 |
|
| Back to top |
|
| |
|