?
Solved

Virtual domain hosting

Posted on 1999-01-25
2
Medium Priority
?
169 Views
Last Modified: 2013-12-15
I have the domain "name.com"
I want to have virtuals setup to have;
first.name.com
second.name.com
etc.
bring up the respective pages.
How do I set up the virtual files.
I have seen the Public_html with the subdirectoies
first.name.com
second.name.com
etc. working but do not know how to set up the server
0
Comment
Question by:netnut
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
HalldorG earned 150 total points
ID: 1632249
In your httpd.conf file


<VirtualHost first.name.com>
ServerName first.name.com
DocumentRoot /usr/local/firstnameroot
DirectoryIndex index.html
Alias /firstnameroot/icons /usr/local/firstnameroot/icons
Alias /anotheralias/     /usr/local/firstnameroot/thealias
</VirtualHost>

Do this for each host but note you have to have
nameserver point to the webserver for all names

0
 

Author Comment

by:netnut
ID: 1632250
thank you I will give that a try
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month10 days, 20 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question