Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hope this is in the right forum. Had a general question about name based virtual host setup in httpd. What if you wanted multiple names such as mail.domain.com and help.domain.com for one domain? I add it in my dns but since it is named based in apache I have to specify where the name resolves to folder wise.
Instead of 2 virtual entries can I do all resolves under 1 virtual entry? Right now I do this for 2 subdomains:
Originally posted by msound i really doubt theres a way to do it with just one <VirtualHost> tag but i could be wrong. Is there a reason why you dont want to just use 2, youre only adding 2 extra lines by doing it this way
sometimes ive found that making a separate file to list all your virtualhosts is a nice was to stay organized. This way your httpd.conf file doesnt get out of hand. At the bottom of the httpd.conf file where I would normally put the virtualhost tags, I put "include conf/httpd.include" and I stored all of the virtual host information in an httpd.include file in the /httpd/conf directory. Just an idea.
Originally posted by msound sometimes ive found that making a separate file to list all your virtualhosts is a nice was to stay organized. This way your httpd.conf file doesnt get out of hand. At the bottom of the httpd.conf file where I would normally put the virtualhost tags, I put "include conf/httpd.include" and I stored all of the virtual host information in an httpd.include file in the /httpd/conf directory. Just an idea.
Great suggestion. Quick question, is it normal to have a very large virtual host file if you are hosting a lot of domains? Or is there a limit?