General :: Pointing Multiple Domains To A Single Public IP?

Apr 28, 2011

If i have two domins [URL] and [URL], can i point it to same IP Address in DNS?.I had already added namevirtualhost in my Apache.If possible, is there any risk,disadvantages.

View 11 Replies


ADVERTISEMENT

Ubuntu Servers :: Multiple Domains With One Public IP?

Jun 21, 2010

I would like to set up an ubuntu server to forward outside requests directed to different domains to different computers on my local network. The bind is I only have ONE public IP.

Here's an example of what I want to do.

- if a request is sent to www.first-domain.com, I want to forward it to a local server (say 192.168.0.10)

- if a request is sent to www.second-domain.com, I want to forward it to a local server (say 192.168.0.20)
and so on...

I will need to forward these requests not only for web sites but for other services such as SSH, mail, RDP, VNC, etc etc PS Once it hits those local servers, I know how to use iptables to forward them as desired.

View 7 Replies View Related

Software :: Apache VirualHost Multiple Domains Single IP?

Jan 12, 2010

I am having a problem with apache's virtualhost directive hosting multiple domains on a single IP with Apache 2.2 on Fedora 11. For example i have domaina.com and domainab.com pointing to the same IP address and have my httpd.conf configured like so:

NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /www/domainA

[code]....

The problem is when i navigate to either domaina.com or domainb.com i get the default Apache page. Its like it is only accepting the default DocumentRoot directive.

View 3 Replies View Related

Ubuntu Networking :: About Several Domains Pointing At One Server?

Feb 27, 2011

I'll post an scenario and hopefully you can help me understand the concept and put me in the right track and do what I intend, if possible. Let's say I have a dedicated server with 2 static IPs each with an associated domain, let's call them www.site1.com and www.site2.com. Now, apache is running on it, I'd like to redirect anyone coming from site1.com to /home/site1/public_html and anyone coming from site2.com to /home/site2/public_html.In short, apache serving 2 entire roots depending on the accessed IP/domain. Whether the sites root are in the same parent folder, such as /home/site/site1_public_html and /home/site/site2_public_html or like above doesn't really matter, as long as it works.Additionally, do something similar with Postfix, so that I can have it running imap/smtp for foobar@site1.com and foobar@site2.com on the same server.At this moment, both apache and postfix are working, and we host only www.site1.com with the respective foobar@site1.com. But I'm not sure how to proceed or even if it's possible to achieve the above solution.

View 1 Replies View Related

General :: Join Server With Multiple Domains?

Jan 13, 2011

Is it possible to add/join my Linux Suse 11.3 server with 2 domains ? I know I can do that with Windows PC, but I never try that with my Linux box. FYI, my Linux server is already joined with a domain, now I want to join my box with another domain and I don't want to take it off the current joined domain.

View 1 Replies View Related

Programming :: Connect Multiple Sockets From A Single Client To A Single Server And Keep Them Open?

Oct 13, 2010

I 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 Related

Ubuntu :: SSH Restrict Public Key To A Single Username?

Apr 29, 2010

I set up SSH on a server running Ubuntu using rsa key authentication. I want to allow a friend of mine to log into the server with restricted access, so I created a user account named "guest" with its own home directory and ensured that it has no root access. I created a new pair of keys and added the public key to my authorized_keys, but when I was testing SSH I noticed that not only could I not log in as guest, I could use the key to log in as my own account and gain root access via sudo. How can I restrict specific private keys to only be able to log in as certain users?

View 6 Replies View Related

General :: Multiple Port To A Single Service

Mar 6, 2011

Is there any limitation to the number of transactions through a single port if so then if we assign multiple port to that particular service then the performance is increased (what i suppose)

so: Is there any way to assign multiple Ports to a single service. like for a web server the main service is httpd or some thing like that to be running on the server and now if we assign multiple ports to that service then the performance increases.

View 2 Replies View Related

General :: Single Server And Multiple Client Programming In C ?

Jul 1, 2010

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.

View 1 Replies View Related

General :: Transpose Multiple Rows Into A Single Column?

Apr 7, 2011

I need to transpose a file with over a 1000 rows of 5 columns of numbers into a file with a single column of numbers. The numbers are separated by a single space and range from one digit to 5 digits each. I tried using awk, but can only get it to grab one column of numbers.

Input:

1 2 3 4 50
600 7 8 9000 10
11 12000 13 14 15

Desired output:

1
2
3
4

[code]....

Tried using: awk '{split($0,a,""); print $NF}' <filename> and got:

50
10
15

It only grabbed the last number in each row.

View 13 Replies View Related

Fedora Servers :: Multiple Domains With Postfix

Aug 4, 2010

I have Postfix + Unix Accounts + Virtual Domains. I have a bunch of domains hosted on my machine, let's call them [URL] [URL] and [URL]... etc Until know, domain2.com, domain3.com were mapped in virtual domains to [URL] So this is how /etc/postfix/virtual looks like:

[URL]

Like I said, all mail accounts are unix accounts, so, if for example I have the user "paul" this user will receive e-mail for ALL DOMAINS. [URL]But as it turns out, I now need a COMPLETELY ISOLATED domain... let's call it [URL]. So If I create a new user, let's call it "steve" I want steve to receive e-mail ONLY on [URL] and not on all others.

I would have to redo the whole thing from the beginning. I'd have to comment out the $mydestination parameter in the main.cf file and start using only virtual domains. So if I have the following users: paul, steve, sally, megan, jenny and I want paul and steve to ONLY receive mail for domain1.com, sally and megan to receive mail for domain2.com and jenny to receive mail for domainX.com, my /etc/postfix/virtual file would have to look like this:

[URL]

I'd have to create the unix account and then start modifying the /etc/postfix/virtual file.

View 1 Replies View Related

Server :: Postfix As Sending MTA For Multiple Domains?

Jun 7, 2010

I am setting up a Postfix MTA that will be only sending mail for 10 different domains. We have other servers that will be receiving the mail for the domains so I only need to set up for sending on Postfix.

What my issue is I am trying to configure Postfix so that when it sends mail the header shows what domain the mail came from and not the domain the Postfix server is set to. For example....

[URL]

When I send mail from domain2.com I want it to show in the header it was sent from domain2.com and not from domain1.com. What do I need to set in postfix so that this happens? Right now no matter what domain the mail is from the header always shows the server domain and I can't have that.

View 5 Replies View Related

Server :: Squid 3.1.12 To Connect To Multiple Domains?

May 18, 2011

I am using squid 3.1.12 as a proxy cache. All the requests initially land on a Apache server which acts as a reverse proxy server, the Apache redirects some URLs based on the context to Squid server. This Squid server based on the URL needs to forward the request to the specific tomcat server where the application is deployed. I am able to configure just for one application but how do I configure multiple tomcat servers(each tomcat having different application deployed on it). Squid needs to redirect based on the URL.In Squid.conf I made the following changes

[URL]

cache_peer abc.dev2.xxx.com parent 8080 0 no-query originserver refresh_pattern -i /ABC144020%1440 override-expire override-lastmod reload-into-ims ignore-reload
#cache_peer def.dev2.xxx.com parent 8080 0 no-query originserver

[code]....

Here Squid is deployed on my host [URL], Apache redirects any URLS with the context 'ABC' or 'DEF' to squid. Squid needs to redirect it to the individual hosts thats [URL] or [URL] based on the URL. I have commented the entry for DEF in my squid.conf as it was not working. But it does work for any URLs with ABC as the context.

View 1 Replies View Related

Red Hat :: Installing Postfix On RHEL For Multiple Domains?

Nov 23, 2009

I've sifted through hundreds of Google results, but I cannot seem to find a tutorial or how-to for installing and configuring Postfix on Red Hat Enterprise for use with multiple domains. We have a web server serving four websites so far. Each of these websites has their own domain that they'll require email for.

View 3 Replies View Related

Red Hat :: Sendmail Beginner With Sasl And Multiple Domains

May 5, 2010

I have sendmail setup with sasl and multiple domains.I'm sure there is an easy fix for this but I can send emails to anyuser@<anyofmyvirtualdomains.dom> and it will be accepted. I'm just trying to cut down on any confusion that may occur later. Is it possible "restrict" or classify a user into a particular domain? I've setup virtusertable and aliases but no luck in accomplishing my goal.I've searched to find no particular information on this.

View 1 Replies View Related

CentOS 5 Networking :: Multiple Domains On 1 System?

Dec 22, 2010

I have a virtual machine with two network interfaces. Now I wanted that both are part of different domains and tried to configure that with system-config-network. But there I only could change the the domain for the entire system. Is it possbile to edit the Domain for each network interface. If yes how?

View 1 Replies View Related

General :: Compile Multiple Source Using Single Makefile In ECos?

Jun 3, 2010

I'm calling a function defined in "uart.c" from "main.c"

But on "make" using cygwin bash, it's giving an error:"Unreferenced function"...
Pls help me to overcome this problem.

If i'm putting the definition of that function in "main.c" itself, its working.

So pls tell me how to write the make file for it?

View 4 Replies View Related

General :: Windows - Run Multiple Operating Systems On A Single Computer?

Mar 18, 2010

Possible Duplicates: Dual Booting Linux and Windows XP Booting Multiple Operating Systems I have a machine with Windows on it, and I would like to be able to reboot to Linux. I am certain this is possible. How can I achieve this?

View 2 Replies View Related

General :: Create A Video DVD With Multiple Titles From A Single-titled DVD?

Apr 24, 2010

I have an unencrypted DVD that is one big title, ie you cannot skip next / prev. What I want to do is reauthor the DVD with title at certain points, so that I can skip next / prev when watching it.

I'm using Ubuntu 8.10

View 1 Replies View Related

General :: Check Performance Of Multiple Machines With Single Command?

Jul 5, 2011

i have 30 linux PCs running. i need to check the performance of all pcs( memory,ram and process usage) in single command or in GUI mode.In solaris we have perf script to check performance in GUI mode. i need same type in linux?

View 1 Replies View Related

General :: Multiple Grep Outputs Appended To Single Row Of CSV File?

Sep 12, 2010

how to update a series of values from multiple grep commands outputs to be appended to a single row of a csv file? Work on a linux envir. The values from grep output will be numeric values.

Output sold look like:

1,3,4,5,7,0,5

Each of these values will be odtained from multiple grep commands piped with wc -l Is it possible to update a single row of a csv file if so pleas ehelp me with the command to be used to redirect the output into the csv file

View 5 Replies View Related

Ubuntu Servers :: Sending Mail From Multiple Domains?

Apr 6, 2010

how can i configure my server to send mails from about ten different domains i use google apps and want to know if its possible. Because it sends mail but all goes to spam and i have a static ip

View 9 Replies View Related

Ubuntu Servers :: Serving Multiple Domains To One Website

Aug 5, 2010

I have a domain.com site up and running on my server. I just bought domain.net, domain.org and I would like it to point to the same site on domain.com. I am not sure how to go about doing this.I used zoneedit for my dns. So far I have pointed my 2 new domains to the same dns as my .com on zoneedit and I have created (A) ip address for them. If I did this correctly, the new domains are pointing to my server and all is left is to edit the virtualhost?

View 3 Replies View Related

Ubuntu Servers :: Multiple Domains Doesn't Works ?

Apr 2, 2011

I'm following how to instruction by [url] I cannot get sites working.

View 7 Replies View Related

Ubuntu Servers :: OpenLDAP Multiple Domains On One Server?

Apr 17, 2011

I work for a college with many departments. I'd like to just deploy one LDAP/krb5 server (plus slave replicas) to authenticate all users in all departmentsIs it possible to do this?The proposed DNs for the departments matches what is done for NIS now.If anyone has any pointers or URLs that describe how to properly do this.

View 1 Replies View Related

Server :: Postfix As Receiving Mails For Multiple Domains?

Nov 15, 2010

I have configured postfix to send/receive mail from/to for two domains we manage. [URL] and [URL] Most of the cases there is no issue sending out or receiving emails. However, a few users of domainY.com complained that their senders were not able to sent them email. after much investigation, we started thinking that the mailserver failed to send us email may the failing on doing a SMTP Banner issue.

Is there anyone who knows how to deal with this SMTP banner issue with multiple domain. We want different SMTP banner when doing EHLO on different server.

530 mail.domainX.com ESMTP MailEnable Service, Version: 1.981-- denied access at 11/16/10 10:51:21
530 mail.domainY.com ESMTP MailEnable Service, Version: 1.981-- denied access at 11/16/10 10:51:21

View 5 Replies View Related

Server :: Postfix: Sending Mail From Multiple Domains?

Jul 20, 2009

I'm running a server with two sites which both need to be able to send emails. Currently I have Postfix set up to send email via Google Apps. This works fine, but Google's servers ignore the From: address I specify and substitute the one I logged in with. Is there a way to make Postfix log into Google Apps with a different username based on what site the email is coming from? The server does not recieve any mail itself; Google recieves it and we have it set to forward it to the appropriate person's real email address. I'm only worried about sending mail.

(Postfix is not a requirement here, so if there's another mailer that can do this better, I'm open to ideas. However, sending email directly from the server isn't an option as it's a residential IP address and blocked by most of the big email providers.)

View 6 Replies View Related

CentOS 5 Server :: Postfix Multiple Domains One User?

Jun 2, 2010

I am currently running a apache/postfix email service on my server. I am using aliases for two addresses for example:

trscookie@serverone.com
trscookie@secondserver.com

so the emails no matter which domain receives the email trscookie always will receive the email.

However I am unable to work out how to 'reverse' this process, for example.

If i was to go to secondserver.com/webmail I would like the emails to get sent from trscookie@secondserver.com however they are currently all coming from serverone.com. Is it possible to configure this so that it is sent from the correct domain?

Here is my main.cf:

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix

[Code].....

View 2 Replies View Related

General :: SVN Multiple Commands Single Revision - Add New Folders (with Contents) To The Repository?

Jun 18, 2010

I want to do something like svn add dir1 dir2; svn ci dir1 dir2 but have it be only 1 revision. Is there a way to do this? Is this the correct way to add new folders (with contents) to the repository? We are restructuring the trunk, so I cleared it out and plan on putting these directories with their contents in it.

View 1 Replies View Related

General :: Launch Multiple Screen Sessions From A Single Bash Script?

Jul 11, 2011

I've written a script (that doesn't work) that looks something like this:

#!/bin/sh
screen -dmS "somename" somecommand
for i in {0..5}; do
screen -dmS "name$i" anothercommand $i
done

For some reason, if I copy and paste this into a terminal, it creates 7 detached screen sessions as I expect. If I run it from within a script, however, I get only the first session, "somename," when I run screen -ls.

Edit: If the same can be accomplished another way (e.g. with multiple screen windows instead of sessions), I would be open those solutions as well.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved