Download presentation
Presentation is loading. Please wait.
Published byAugusta Sherman Modified over 9 years ago
1
Multi-Domain Hosting Hosting multiple domains on one server using Apache John Beckett 1/16/2013
2
Steps in the path Register a host name Point its IP address to your server At this point: That host name will show your default server Web page. So you need to adjust your server. Add content in your server Good idea to establish a directory for this host name Add a config for this host in /etc/apache2/sites-available Enable the site # a2ensite filename Restart the Web server so it will use the new config # service apache2 restart Or… #apache2ctl restart
3
Register a host name Free: no-ip.org
4
Add content to your server Typically: $ mkdir – makes a directory, use a descriptive name E.g. mkdir raccoon $cd – go into the directory E.g. cd raccoon Create an index file E.g. nano index.html
5
Add config file for this host This example will be /etc/apache2/sites- available/skunk
6
DocumentRoot /home/jbeckett/skunk ServerName skunk5.hopto.org ServerAdmin webmaster@localhost Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined Underlined items need to be adjusted
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.