Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: jabell on January 29, 2006, 01:16:26 PM

Title: pinging multiple domain names
Post by: jabell on January 29, 2006, 01:16:26 PM
The problem I am having with ibays and multiple doamin names is how the world sees them when sharing a single IP.  For instance, if I ping www.domain1.com I get a return IP address.  What happens when I ping www.domain2.com?  The same IP returns? Or does it not respond, being 'masked' by the primary domain?
I can easily get the A-records and the MX records for both domains changed to point to the one IP, but is this 'legal'?
I presume when email for both domain1 and domain2 arrives at that single IP, SME will accept both?  Are they stored separately or together?
Yours in confusion!
john
Title: pinging multiple domain names
Post by: beeboob on February 01, 2006, 06:50:13 PM
Hey

Do you have found of anything about it.....

I am very Interesting in who you do it
Title: multiple domains on one IP
Post by: jabell on February 01, 2006, 10:26:03 PM
No - I didn't get any replies, but I am presuming that it is possible and legal to have multiple domains hosted on one IP address.
I understand that the SME box will host virtual domains, but that implies to me that they are 'hidden' from the outside world, whereas I intend to host 2 xxx.com domains on the one SME server.
In the absence of any replies from this forum I am going to experiment and see what happens.  You can email me direct at jabell@ahc.sa.gov.au to see how it turns out. (better put "SME server" in the subject line so i don't delete it with the spam!)
John
Title: Re: multiple domains on one IP
Post by: gpapaiko on February 02, 2006, 01:35:36 AM
Just to let you know you can host multiple domain on the one ip address.
I am curretnly doing that - i host 4 domain on the one sme box and one ip adreess wioth no issues at all, and have being doing it for about 1 year.

 8-)
Title: pinging multiple domain names
Post by: beeboob on February 02, 2006, 07:25:40 PM
ok nice, nut how do you do it???

Can you post are lillte guide, HowTo or somthing so i can look i my server man to see what wrong om my stuff
Title: Re: pinging multiple domain names
Post by: electroman00 on February 03, 2006, 03:39:41 AM
Quote from: "jabell"
The problem I am having with ibays and multiple doamin names is how the world sees them when sharing a single IP.  For instance, if I ping www.domain1.com I get a return IP address.  What happens when I ping www.domain2.com?


If www.domain2.com is pointing to same IP then yes, do you have both registered.

You should use a DNS redirector like easydns.com or powerpipe.com even
if your domain is static.
Quote
 The same IP returns? Or does it not respond, being 'masked' by the primary domain?
I can easily get the A-records and the MX records for both domains changed to point to the one IP, but is this 'legal'?


Well you won't get put in jail for it, but not the prefered way to do it.

google virtual domains which is what most servers can do.

Quote

I presume when email for both domain1 and domain2 arrives at that single IP, SME will accept both?  Are they stored separately or together?
Yours in confusion!
john



Are they stored separately or together?

Start with separately.

www.domain.com          Primary ibay

domain.com/anyother_ibay

There are other ways but that should get you started.

Create an ibay and add an index.html page to

/home/e-smith/files/ibays/html

Access it with......

domain.com/ibay/index.html

servername/ibay/index.html

serverIP/ibay/index.html
Title: pinging multiple domain names
Post by: gpapaiko on February 03, 2006, 01:12:25 PM
Hi,
Here are some step.

1/ have your domains registred with the same IP
  eg. domain.com @ 111.22.33.44
        domain1.com @ 111.22.33.44
        domain2.com @ 111.22.33.44

 I use dynnds.org to register domain and free domain - I have 3 free doamion and 3 register doains all with the same ip.

2/ On you sme server create two new ibays with htlm option enable
   Public access via web or anonymous ftp     = Entire Internet (no password required)
   Execution of dynamic content (CGI, PHP, SSI) = ENabled    
   Move deleted files to Recycle Bin  = Enabled   
 
and of course you have the primary ibay.

3/ Add the new doamin to the SME server via the domains panel and point each domain to the appropriate ibay.
 eg  domain.com => primary Ibay
      domain1.com => ibay1  (virtual domain)
      domian2.com => ibay2  (virtual domain)

you can now setup indvidual web site for each doamin under the html directory of the ibays.

You will also be able to receive email under each of the domains. Andy uers that you have setup on your sme server can receive email under any of the domain names setup on your server.

check out these two doains www.gregalmeida.homeip.net, www.icewtr.homeip.net  or www.icednetworks.com (under construction) all of these three domain are under the one server and IP address, and i can receive email on eny of them.

If you need more detailed how-to let me know and I will do one and post it on my web site.

Hope this helps.
Good luck.

George :-D  
email: george@icednetworks.com
Title: pinging multiple domain names
Post by: beeboob on February 03, 2006, 06:46:09 PM
Many, many thanks. I am verly happy for it.

And now i just have to make to user so

user 1: mail@domane1.xxx
user 2: mail@daomae2.xxx

so that i can make are reply. I am webmaster for both sites. One for my son's schole and one for are sport site
Title: pinging multiple domain names
Post by: CharlieBrady on February 03, 2006, 09:24:09 PM
Quote from: "beeboob"
Many, many thanks. I am verly happy for it.

And now i just have to make to user so

user 1: mail@domane1.xxx
user 2: mail@daomae2.xxx

so that i can make are reply. I


Make a pseudonym which delivers 'mail' to your user account. Your mail client can have multiple settings to allow you to send mail from either @domain1.xxx or @domain2.xxx - there's nothing to set up at the server end.
Title: pinging multiple domain names
Post by: gpapaiko on February 04, 2006, 11:24:37 AM
Just a quick note.

you do not have to make any changes on your server, if you have set up the two doamin on your server and have users on it then all the users can recevie email on either of the domain they which, and the email will go to the correct user.




Good luck  :hammer:
Title: pinging multiple domain names
Post by: beeboob on February 05, 2006, 05:32:19 PM
Nice, many thanks...

Now it is fun.

And it is right to set DNS it to Resolve locally
Title: pinging multiple domain names
Post by: laurie_lewis on February 28, 2006, 04:52:31 AM
To extend the questions here - how do I go about setting up sub domains under the a domain name?

have virtual domain - domainname.com  want to have subdomains -

eg:  wiki.domainname.com or en.wiki.domainnam.com etc

Laurie
Title: pinging multiple domain names
Post by: beeboob on February 28, 2006, 10:58:06 PM
just make the domane ak wiki.domane.com and are ibay