<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Virtual Hosting in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119598#M7967</link>
    <description>I host multiple domains, httpd, smtp dns on one Linux Server.&lt;BR /&gt;&lt;BR /&gt;If you specify what you are trying to do, I can be of assistance to you.&lt;BR /&gt;&lt;BR /&gt;You need to decide if you are doing named based or ip based virtual hosting in apache.  Named based lets you assign more than one web site per ip address.  You can't do this with ssl sites.&lt;BR /&gt;&lt;BR /&gt;The sendmail side is fun, but also pretty straightfoward.&lt;BR /&gt;&lt;BR /&gt;Config files:&lt;BR /&gt;/etc/aliases&lt;BR /&gt;/etc/mail/sendmail.mc&lt;BR /&gt;/etc/mail/virtusertable&lt;BR /&gt;/etc/mail/genericstable&lt;BR /&gt;/etc/mail/access&lt;BR /&gt;&lt;BR /&gt;Like I said, if you have specific questions I can answer those.  Your current question is to broad.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Fri, 14 Nov 2003 11:42:45 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-11-14T11:42:45Z</dc:date>
    <item>
      <title>Virtual Hosting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119596#M7965</link>
      <description>Has anybody ever done any Virtual Hosting? If so how did it go? And is there any tips/tricks i should know or look out for? Thanks</description>
      <pubDate>Fri, 14 Nov 2003 10:29:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119596#M7965</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2003-11-14T10:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual Hosting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119597#M7966</link>
      <description>What do you mean by virtual hosting?&lt;BR /&gt; &lt;BR /&gt;We have nearly all our Windows "servers" as vmware sessions on Linux boxes.  Is this the kind of thing you mean?</description>
      <pubDate>Fri, 14 Nov 2003 11:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119597#M7966</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-11-14T11:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual Hosting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119598#M7967</link>
      <description>I host multiple domains, httpd, smtp dns on one Linux Server.&lt;BR /&gt;&lt;BR /&gt;If you specify what you are trying to do, I can be of assistance to you.&lt;BR /&gt;&lt;BR /&gt;You need to decide if you are doing named based or ip based virtual hosting in apache.  Named based lets you assign more than one web site per ip address.  You can't do this with ssl sites.&lt;BR /&gt;&lt;BR /&gt;The sendmail side is fun, but also pretty straightfoward.&lt;BR /&gt;&lt;BR /&gt;Config files:&lt;BR /&gt;/etc/aliases&lt;BR /&gt;/etc/mail/sendmail.mc&lt;BR /&gt;/etc/mail/virtusertable&lt;BR /&gt;/etc/mail/genericstable&lt;BR /&gt;/etc/mail/access&lt;BR /&gt;&lt;BR /&gt;Like I said, if you have specific questions I can answer those.  Your current question is to broad.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 14 Nov 2003 11:42:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119598#M7967</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-11-14T11:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual Hosting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119599#M7968</link>
      <description>Steven-&lt;BR /&gt;  Ok, Here's the exact scenario. We have 2 older slower crappy servers that each host a fairly large website with alot of information that changes daily on them from scripts. We just got a nice new Dell server that we would like to put both of the old servers on this new one with virtual hosting. &lt;BR /&gt;&lt;BR /&gt;    Therefore each ethernet card would have it's own IP address. So It would be like 2 seperate servers on one big server with different IP addresses. Hope this helps or is more specific. Do you see Virtual Hosting being difficult with what I am trying to do? Thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Nov 2003 13:45:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119599#M7968</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2003-11-14T13:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual Hosting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119600#M7969</link>
      <description>You are best off making one httpd server.&lt;BR /&gt;&lt;BR /&gt;Choose one of the websites top be the master server.&lt;BR /&gt;&lt;BR /&gt;ServerName fully_qualified_name_of_master_server&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For the secondary web server.&lt;BR /&gt;In httpd.conf&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST ip_address_of_second=""&gt;&lt;BR /&gt;    ServerAdmin webmaster@host.some_domain.com&lt;BR /&gt;    DocumentRoot www/docs/host.some_domain.com&lt;BR /&gt;    ServerName host.some_domain.com&lt;BR /&gt;    ErrorLog logs/host.some_domain.com-error_log&lt;BR /&gt;    CustomLog logs/host.some_domain.com-access_log common&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;You need an IP address set up for the secondary in /etc/sysconfig/network-scripts&lt;BR /&gt;&lt;BR /&gt;Names based Virtual Hosting example.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST&gt;&lt;BR /&gt;    ServerAdmin webmaster@host.some_domain.com&lt;BR /&gt;    DocumentRoot www/docs/host.some_domain.com&lt;BR /&gt;    ServerName host.some_domain.com&lt;BR /&gt;    ErrorLog logs/host.some_domain.com-error_log&lt;BR /&gt;    CustomLog logs/host.some_domain.com-access_log common&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;The DNS record to support this is slightly different than IP based virtual hosting.&lt;BR /&gt;&lt;BR /&gt;Let me know if you need that, I can post it when I get back to my private office.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 14 Nov 2003 14:51:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119600#M7969</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-11-14T14:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual Hosting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119601#M7970</link>
      <description>Hi Kyle,&lt;BR /&gt;&lt;BR /&gt;Steven will undoubtedly give you more precise tip.&lt;BR /&gt;&lt;BR /&gt;In between, what you are doing is virtual hosts based on IP, as, if I get you clearly, each card links to one site (do you know that you can also do Virtual hosts based on names, that is to say one NIC, one IP, and 2 different sites with 2 different sites names and contents on the same machine ?).&lt;BR /&gt;&lt;BR /&gt;Oh, I se Steven replies. Let you read his post.&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Fri, 14 Nov 2003 15:00:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119601#M7970</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-11-14T15:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual Hosting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119602#M7971</link>
      <description>Steven- &lt;BR /&gt;   Thanks alot for the help. Yes can you please post that when you get back to your private office. I wasn't sure if it mattered or not about using two httpd daemons, but I guess i'll go with one. I may be out for the weekend in a few, so i'll check this board Monday. Thanks!&lt;BR /&gt;&lt;BR /&gt;J-&lt;BR /&gt; Yes, that is correct, each card will link to a seperate website. I was aware from reading up about name based and IP based, not sure if ones better then the other or if it doesnt' matter. Thanks.</description>
      <pubDate>Fri, 14 Nov 2003 15:26:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119602#M7971</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2003-11-14T15:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual Hosting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119603#M7972</link>
      <description>This is the DNS record for hpux.ws.zone&lt;BR /&gt;&lt;BR /&gt;It works with a names based hosting scenario. I have altered the external ip addresses.&lt;BR /&gt;&lt;BR /&gt;$TTL 86400&lt;BR /&gt;@       IN      SOA     @  dns1.investmenttool.com (&lt;BR /&gt;                        2003090401 ; serial&lt;BR /&gt;                        3600 ; refresh&lt;BR /&gt;                        3600 ; retry&lt;BR /&gt;                        604800 ; expire&lt;BR /&gt;                        86400 ; ttl&lt;BR /&gt;                        )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;@       IN      NS      dns1.investmenttool.com.&lt;BR /&gt;@       IN      NS      dns2.investmenttool.com.&lt;BR /&gt;@       IN      MX      10      hpux.ws. ; primary mail exchanger&lt;BR /&gt;&lt;BR /&gt;@               A       62.91.163.194&lt;BR /&gt;www             A       62.91.163.194&lt;BR /&gt;dns1            A       62.91.163.194&lt;BR /&gt;dns2            A       62.91.163.195&lt;BR /&gt;&lt;BR /&gt;ftp             CNAME   investmenttool.com.&lt;BR /&gt;mail            CNAME   hpux.ws.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is the record from the DNS zone of the Master Server.&lt;BR /&gt;&lt;BR /&gt;$TTL 86400&lt;BR /&gt;@       IN      SOA     @  dns1.investmenttool.com (&lt;BR /&gt;                        2003080705 ; serial&lt;BR /&gt;                        3600 ; refresh&lt;BR /&gt;                        3600 ; retry&lt;BR /&gt;                        604800 ; expire&lt;BR /&gt;                        86400 ; ttl&lt;BR /&gt;                        )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;@       IN      NS      dns1.investmenttool.com.&lt;BR /&gt;@       IN      NS      dns2.investmenttool.com.&lt;BR /&gt;@       IN      NS      dns3.investmenttool.com.&lt;BR /&gt;@       IN      MX      10      investmenttool.com. ; primary mail exchanger&lt;BR /&gt;&lt;BR /&gt;@               A       62.91.163.194&lt;BR /&gt;www             A       62.91.163.194&lt;BR /&gt;smtp            A       62.91.163.194&lt;BR /&gt;dns1            A       62.91.163.194&lt;BR /&gt;dns2            A       62.91.163.195&lt;BR /&gt;dns3            A       62.91.163.195&lt;BR /&gt;&lt;BR /&gt;jerusalem       CNAME   investmenttool.com.&lt;BR /&gt;localhost       CNAME   investmenttool.com.&lt;BR /&gt;ftp             CNAME   investmenttool.com.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The DNS records are extremely important to this scenario.&lt;BR /&gt;&lt;BR /&gt;httpd -t I think tests your httpd.conf situation.&lt;BR /&gt;&lt;BR /&gt;You will probably eventually need to handle sendmail in your situation, you probably want to post a new question.  Stuart is better at that than I am.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 14 Nov 2003 15:54:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119603#M7972</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-11-14T15:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual Hosting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119604#M7973</link>
      <description>And if your use scripts, then you may need to tune your httpd server to get better performances. &lt;BR /&gt;Just ask on that too if required.&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Fri, 14 Nov 2003 17:11:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/virtual-hosting/m-p/3119604#M7973</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-11-14T17:11:15Z</dc:date>
    </item>
  </channel>
</rss>

