Server :: Set Up Multiple Name Based SSL Hosts On A Single IP?
Feb 27, 2011have a look at the following thread story and please clear my doubt.
View 6 Replieshave a look at the following thread story and please clear my doubt.
View 6 RepliesI have set up a SSL site for my default Apache server. But I want to set up multiple SSL sites for multiple IP based as well as Name based Virtual hosts. Is there a way where in I can include definitions for SSL certificates and keys within the Virtual Host directive in the httpd.conf, so that I can specify separate key and cert file for every Virtual Host.
View 11 Replies View RelatedI have question about the UNIX sockets. my goal is to connect multiple sockets from a single client to a single server and keep them open...I'm not sure if that is possible to create or not. Do you have any suggestion or an example of code?
View 1 Replies View RelatedI have a CentOS 5.5 Server and I'm hosting 3 different Name-based Virtual Hosts. Using Joomla 1.5 for the site. Each VHost has it's own subdirectory under /var/www so I have .var/www/vhost1, /var/www/vhost2 etc.
The Code in my httpd.conf for each vhost is : -
# Virtual host vhost1.site.com
<VirtualHost 192.168.0.203:80>
DocumentRoot /var/www/vhost1
ServerName vhost1.site.com
ServerPath vhost1/
[Code]...
It works perfectly, but I'm getting a lot of unwelcome spiders and bad bots trawling for MP3 files because there are a few MP3 files on one the sites. I've added all the Bad Bots to my .htaccess file and now I need to know if I should make only ONE .htaccess and put it under /var/www OR create a different .htaccess file for each vhost (this would be an ideal solution, but I'm not sure if it can be done).
I am trying to run two web servers (Virtual Hosts) on a single Linux Centos 5.5 box with a single IP address 192.168.0.182. I did all the pre-installation requirements such yum install mysql, yum install mysqladmin, service httpd start, service mysqld start etc etc.In /var/www/html directory, I have two folder called server1 and server2. These two folders have the necessary web server php script files and folders. I opened the browser and managed to install the script on one web server successfully. When I put the IP address 192.168.0.182 on the browser address bar, the page loads without any problem. Now I would like to be able to install the other web server script and I don't know how to?Here is my httpd configuration;
<VirtualHost *>
DocumentRoot /var/www/html/server1
ServerName development.mysite.com
[code]....
We have a requirement to configure multiple email gateways, for mail accounts configured on linux server. the application will trigger mails (bulk mails) and we would like to configure multiple email gateway to be used.
we decided to do it this way.
In dns we would create MX records like
yourdomain.com. 3600 IN MX 20 realmailserver1.yourdomain.com.
yourdomain.com. 3600 IN MX 20 realmailserver2.yourdomain.com.
where realmailserver1.yourdomain.com. and realmailserver2.yourdomain.com. will be our email gateway.
and internally on our linux server (from which mail is sent) if i specify multiple smart hosts like
define(`SMART_HOST',`esmtp:realmailserver1:realmailserver2')dnl
I have 16 linux servers that use /etc/hosts files to see and talk with each other. I'm adding servers to this pool of servers. It is required to do host resolution via the /etc/hosts files. DNS or NIS are not alternatives. Aside from manually editing each of the 16+ /etc/hosts files every time I add a server or editing one /etc/hosts file on one server then scp'ing it to all the other servers, is there anyway to edit the /etc/hosts on one server and "push" it onto the other servers that need the new /etc/hosts file?
Everywhere I've looked on the Net, there hasn't been any suggestion except for the options I mention here.
Or am I just whistling in the wind?
In my production setup, i have 3 servers using the same mount point. However, i see that the IOPS is low. Does this kind of architecture have any impact on IOPS. In case it is neutral, how can i tune my setup for better IOPS.
View 1 Replies View RelatedWe can add multiple IP address on a single NIC. Is there any limitation that is how many ip address I can add on a single NIC card??
View 1 Replies View RelatedWe have too many audio Paths, for each user have one. We would like to create a unique folder to Read in network.
For example:
The idea is Mapping all folders to the path /pub/Music in server, so all user can access all music online in the server.
Very Well. How we can do it?
And when pc1 and pc2 have the same subfolder, like Beatles, and in the subfolder have different folders ( PC1-Beatles/Revolver ) (PC2-Beatles/Habbey_Road) or The same folder (PC1-Beatles/The_Mistery_Magic_Tour) (PC3-Beatles/The_Mistery_Magic_Tour)...
Is there a way to contemplate this issue?
How to run multiple X server in single terminal in linux .Is it possible .
View 3 Replies View Related[Code]....
What I want: multiple virtual hosts with ssl and only 1 ip address: In my example: server = 192.168.227.129
[Code]....
I'm trying to pass multiple dpmains thru one ubuntu server to various hosts on my local network.
[url] should be sent to the /var/www folder on the local host.
[url] should be forwarded to an IIS box on my local network (owa.nunya.local)
[url] should be sent to another ubunto box on my local network (smtp.biznet.net)
I have tried placing VirtualHost entries in /etc/apache2/sites-available/default and [url]and [url] both work but [url] gets forwarded to the c:inetpub folder on the IIS box.
I am new in client server programming and i have written code for single server to single client communicating one port(3490). but i have no idea how my single server will be communicate with different client on different port.how this will be happen ?
Any idea to understand the logic or send any good link or any piece of code in c , i searched on net but all help was mostly for java progamming.
I am looking at setting up a multiple postfix SMTP servers for a single domain. Below is my requirement, I would appreciate if someone out there could guide me to achieve this using postfix..
1. Want to setup 2 postfix SMTP Server with 1 POP3 Server.
2. Server1 will host POP3 & SMTP services for domain "metallica.one".(IP: 1.1.1.1, MX: mx1.metallica.one)
3. Server2 will host only SMTP services for domain "metallica.one" (IP: 1.1.1.2, MX: mx2.metallica.one)
4. Server1 & Server2 will be used as load balancing for sending mails. (either manual settings in email client, or auto-loadbalancing is still preferred).
5. Mail received for domain metallica.one on Server2 should be pushed/forwarded/relayed to Server1 where POP3 services are running.
6. Outgoing mails for other domains from Server2 should be sent directly to the other-domain-recipients without relaying to Server1.
I have configured a file server with samba and winbind in RHEL5.I am able to allot permission for the active directory groups to my Linux folder.No issues.But i want to set multiple groups of active directory to get ownership to a single directory. Say there are 3 groups a,b,c to have permissions to a folder of the Linux machine.
Code:
chown -R root:Active_directory_group_name path_to_linux directory
I have set
Code:
chmod 770 /myshare
meaning that user and group would have full rights to /myshare
Code:
chown root:a
works great I tried with the option of
Code:
chown -R --reference=/etc/shares_own.txt /myshare
In reference file(shares_own.txt) i gave the entry as
Code:
root:a,b,c
This is not working.
Our system uses email to send fairly time-sensitive status messages between programs running on various servers on a WAN. Each email message is sent to two addresses (different servers). The problem occurs when one of the destination mail servers is off the network. I think because it's trying to send one email to two addresses, sendmail attempts delivery to the first address, then to the second address (i.e., serially). When this happens, it hangs for two connect timeout (CONNECT_TO) periods trying to connect to the offline destination, then after the timeout, it then delivers to the other destination. I'm trying to figure out how to work around that connection delay so it doesn't delay delivery to the other destination.
I'm working with the network guys to enable the right ICMP messages that signal when a network is unavailable, but I would also like to try having sendmail split the emails into two envelopes, then use parallel, independent connections for delivery.
After days of reading through the docs (O'Rielly Sendmail book + sendmail docs) I think one way to do this is to use multiple mail queues, but I can't decipher exactly how to do that from the docs.
There might be other, more elegant ways to do the same thing, but again, trying to decipher the docs has my head swimming. (This is my first experience with sendmail.)
I currently am running 10.04.1 and have successfully setup my home web server to run a single website. My current settings are:
-I have registered the domain name annarrankings.com through godaddy
-A record is - host = @ and points to = 71.114.220.3
-CName is - host = www and points to = @
-on my server I have the site running in /var/www
I've done some research and found that to run multiple websites I need to setup VirtualHost.
-So I created a folder /var/www/annarrankings.com and moved my site to that folder
-Edited Apache2.conf to add the following line
-I then went to /etc/apache2/sites-enabled and copied the default file to a new file called annarrankings.com. Here's the annarrankings.com file after I edited it
-I then created a link in /etc/apache2/sites-enabled to the annarrankings.com file in /etc/apache2/sites-available
-Next I editied /etc/hosts
-When i went to enable the site using a2ensite annarrankings.com I got the following
I figured this was ok since I had already created a symbolic link earlier (a result of trying to following multiple tutorials and ..... videos at once) so I reloaded apache2. I created an index.html file in /var/www/ just for testing purposes and when I load www.annarrankings.com I get the file located in /var/www/ instead of the website located in /var/www/annarrankings.com Do I need to change my A record or CName in godaddy or did I just do this completely wrong?
is there any HOWTO for configuring Webmin Postfix server with multiple postfix virtual hosts? Seems to be a tough challenge to set it up without any easy manual..
View 1 Replies View RelatedI have files a, b, c and d. They're all relatively large and are served up by a static web server optimized for this purpose. I can get requests that look like this:
/abcd
/ad
/bacdac
...
Each request is basically a request for a concatenation of the files in the order of the letters. The list of possible requests is finite, but large enough that disk space will run out very quickly and be very expensive if I create all possible files via concatenation.Is there a way to create a pointer file like abcd that is essentially a multi-file symlink that first points to a then to be then to c then to d? So if the contents of the files were as follows:
a: hello
b: there
c: whats
[code]....
I want to create a script to insert the fstab and hostname in a textfile of multiple servers on the network without a password. The servers are situated in a text file. So i want to read the text file line by line and write the output into another textfile.
View 10 Replies View Relatedselectively archive the subdirectories of a single parent directory in which said subdirectories have creation year-date 2008 and older.
View 5 Replies View RelatedWhat is the best way to go about setting up multiple virtual hosts on the same box, one using http and one using https/ssl? I'd like to serve them from the same ip address if possible; I know it's possible in apache 1.3.
View 2 Replies View RelatedI am somewhat familiar with SGE (Sun Grid Engine, now Oracle Grid Engine) commands but am having a problem when running parallel jobs.
Present Machine configuration:
machine I - 12 cpus
machine II - 12 cpus
machine III - 12 cpus
.... so on ...
One_machine - 16 cpus
(I have all machine of 12 cpus and 1 machine having 16 cpus)
I want to schedule jobs on these machine such that if I ask for 12 cpus - my jobs should execute on any of the machines which has all 12 free cpus (eg machine I or machine II) in this case.
Eg. suppose I ask for 24 cpus
Option I : 12@machine1 12@machine2 ----- I need this
Options II : 10@machin1 10@machine2 4@machine3 ---- I don't need such a distribution
Hence, Option I is ideal here. Also, when running 12 jobs on machine1 (say) - even if all 12 cpus are not being used at some instance of time, none of the 12 cpus should be freed.
In short, until my run finishes, all blocked cpus should remain blocked.
If you may understand, the purpose here is to run some performance tests.
I'm using 'qrsh' to launch jobs.
I am trying to configure dhcpd to provide two different pools of IPs- one for dynamically named hosts specific to MAC addresses, and another for everyone else.So, a machine with X MAC address connects, gets an IP from e pool, and the server updates DNS with the address under a specific hostname.For the other pool, it just assigns the IP, no DNS updates.The "class" function doesn't appear to allow anything but pattern matching, and I can't find anything that specifies what "allow" and "deny" options therere for the pool command.Here's my config so far - will this do what I want?
Code:
key dhcpd {
algorithm hmac-md5;
[code]...
I have a server that host's several sites, recently I had to create a new server because the old one isn't good enough for me. Ive installed apache2 on the new server and moved all the files from one server to the other. I'm making tests in my local lan so I've edited my computer's hosts file to point to the name of each site to the local ip of the new server:
192.168.1.85 www.mypage.com
192.168.1.85 svn.mypage.com
192.168.1.85 trac.mypage.com
I have all the site definition files in /etc/apache2/sites-available I also have the used a2ensite to enable each page.
Whenever o use my browser to try and access each of the sites I always get the svn.mypage.com page and none of the others.
here is some debug info:
Code:
sudo apache2ctl -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
[Code]....
I have some problem in apache2 configuration. I have two websites on same IP on LAN.i.e. 192.168.1.5
[Code]...
What should I check in a few blogs I checked they said to mention in [URL]...But in this case what should I put I have two different websites or what other thing I have missed? I do not have access to DNS so that on LAN I can point site1.abc.com and abc.com to same IP 192.168.1.5 which to me seems could resolve the issue.
I've been trying to set multiple IP my Fedora 14 but nothing seems to work. Upon browsing the net, I found there are two ways for it. One is eth0:0~eth0:n nd another is eth0-range0. All are configs under network-scripts. But neither of them worked for me. Even grabbing a working example from my live server doesn't do the trick (though the server is a CentOS 5.5).
Currently using eth0-range0
ONBOOT=yes
IPADDR_START=192.168.1.127
[code]...
I have an Ubuntu install on an 8Gb SDHC Card, customized for my Toshiba NB205. It took quite a bit to get sound and BT working, but now it's fine. Just out of curiousity, I used this same SDHC Card to boot my Dell D610 -- it booted, and sound and WiFi worked fine. I was surprised. There was a single error message after the desktop appeared, but I didn't record it.
I am now wondering: is it practical to use a single USB installation with multiple devices? I can imagine a number of complications, but was surprised that my attempt worked on two very different hardware platforms. There was discussion, when pendrives first appeared, of being able to use one to boot any PC to your own USB-based OS, bypassing any other OS installed on the PC.
I have 2 NICs in one box, both connected to two different routers.Is there a way to make NIC1 handle lets say 204.x.x.x and NIC2 handle the restncoming requests though.Basically, I have apache running, and I things to go through a specific NIC based on source.
View 1 Replies View Related