Serving MULTIPLE Domain Names on 1 Web Server

How can I host DIFFERENT domain names on the same OSX Tiger Server? I've looked everywhere, but I can't seem to figure it out. My Web server is currently hosting one domain name just fine.
DNS INFO:
The new Domain Names are already purchased & registered, and my ISP is taking care of DNS, pointing all of the domain names to my Tiger web server.
IN SERVER ADMIN >> WEB Services > Settings Button > Sites Tab, I've configured the Domain Names as follows:
Domain Name = domainnamehere.com
Port = 80
IP Address = Any
Web Folder =
/Library/WebServer/Documents/domainnamefolder1/HTML here
/Library/WebServer/Documents/domainnamefolder2/HTML here
/Library/WebServer/Documents/domainnamefolder3/HTML here
Default index files = index.html
The Enable box is checked
PROBLEM:
When I go to any of the new domain names they all open up the MAIN website NOT their own individual web page.
QUESTION:
What am I doing wrong? What do I need to do to host DIFFERENT Domain Names PUBLICLY on the same OSX Tiger Server? I've seen information on setting up "Virtual Hosts" for local web development, but I can't seem to figure out how to host DIFFERENT Domain Names PUBLICLY on the same OSX Tiger Server.
Thanks for your help!
Computerpros

The description of you setup sounds wrong.
You should have multiple Sites configured, one per hostname you're trying to run, like:
Domain1:
Domain Name = domain1.com
Port = 80
IP Address = Any
Web Folder = /Library/WebServer/Documents/domainnamefolder1
Domain1:
Domain Name = domain2.com
Port = 80
IP Address = Any
Web Folder = /Library/WebServer/Documents/domainnamefolder2
Domain1:
Domain Name = domain3.com
Port = 80
IP Address = Any
Web Folder = /Library/WebServer/Documents/domainnamefolder3
  Mac OS X (10.4.4)  

Similar Messages

  • Using Multiple Domain Names to Access Our Portal

    We operate one domain corp.company.com but all internal intranet web servers get  assigned the address inside.ZZZ. The inside.ZZZ is on our IE exclusion list but company.com is not. Adding company.com seems to be a miserable task so we are looking at adding an alias so our users can access the server at the new inside.ZZZ url. We have DNS pointing the URL to the right server and that seems to be working properly.
    Something within the application is redirecting the page to gnwhepdev.corp. company .com (our server’s domain address) after the initial login.  Since *.corp. company .com is not in the exclusion list, it is considered an outside address and rerouted.  We are trying to find some way to pass the alias within the  application itself so that we don’t need *.corp. company .com in the exclusion list and we can point users to the inside.ZZZ url.
    Our team researched this issue and found documentation that supported the use of multiple domain names to access a Enterprise Portal.  The documentation that we found is below:
    How To…Configure the J2EE Engine Deployment Descriptor (Version 1.00 – July 2004)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0eb8120-b66c-2910-5795-894f384fc054
    Particularly on page 13-15 in the documentation it talks about enabling the portal via multiple domain names (Section 3.7:  Using Multiple Domain Names to Access the Portal).  Also, the documentation says the following:
         You must have sever proxy servers, each with a different domain name.  You then activate the filter mechanism and configure it to work with several proxy servers
    We have several questions about the possiblities of being able to set this up and whether it would require another server where Web Dispatcher would need to be installed for this configuration to work properly.  Can someone please provide some insight into what needs to be configured and answer the question about the Web Dispatcher?  Also, if Web Dispatcher is required, what steps need to be done to configure?  If Web Dispatcher is not needed, what will we need to do apart from that to set this up for our Enterprise Portal system?

    It is but you have to use masking......
    http://iwebfaq.org/site/iWeb_Domains.html

  • How to confiture virtual hosts with multiple domain names

    hello,
    I've read through some of the postings here on virtual hosts, but I thought I'd better solicit advice before I actually try some of the things I've read about.
    In a nutshell, I've purchased multiple domain names that I'd like to alias to a new site (currently it is just a subfolder in the main site directory) on my OS 10.3.x server. There is only the one main site configured right now on the box, so I know I need to set up a second "virtual site" pointing to the files in this subfolder to make it function as its own site.
    I've dabbled around with the sites settings in the GUI, but I'd probably be most comfortable setting all this up in the httpd.conf by hand if I could. But I'm weary of this because I know it might be better to use the GUI because of OS X Server's flavor of WebObjects and Apache (sigh).
    So, I have two main questions:
    1) How would I set up this second site using the GUI in server settings? Do I need to first move the subfolder out of the main folder before it can be designated its own site? Or can I just point to it in the GUI? Can I use one of my purchased domain names in the domain field?
    2) Currently, I have URL Forwarding set with my multiple domain names, but I'm thinking there might be a better way to do this? For SEO I'd rather use some type of redirect rather than being penalized by search engines for having what looks to be multiple domains pointing to the same site.I'm thinking I should create virtual sites for each domain name I've purchased with a hard redirect back to the main site?
    Any suggestions would be appreciated.
    Thanks
    G4 Mac OS X (10.3.9) 10.3.9 Server
    G4 Mac OS X (10.3.9) 10.3.9 Server

    thank you for your reply.
    > You can create each site as a new Site in Server
    Admin. When you do this you can choose any
    directory on disk as the document root for each
    site.This means you can move the sites' folders out of
    /Library/WebServer/Documents if you like - you could
    create /Library/WebServer/site1,
    /Library/WebServer/site2, etc. (or even be outside of
    /Library/WebServer if you want).
    so, are you are saying that I could designate one site to be
    /Library/WebServer/Documents/site1
    and another to be
    /Library/WebServer/Documents/site1/directory1
    even though directory1 is contained within site1's structure? I'm not advancing this as a good idea, necessarily. I'm just wondering if Apache would complain.
    > Each site should have the domain name set as per your
    registered domains. Apache will need this to
    determine the correct site to serve for each
    request.
    Well, after some additional research I'm thinking I'm missing a critical piece of the puzzle. That being access to the DNS host server that manages the context of my server. I have purchased domain names through an outside registrar that point to my site and I can create virtual hosts on my server, but I don't have the ability to add the new virtual host names into the DNS server that manages my box. If that makes sense. Or maybe I'm missing something?
    >
    I'm not sure why you're using URL forwarding at all.
    Without that piece of information it's impossible to
    tell you whether you should continue using them or
    not - in general there's no need to use URL
    forwarding if you have multiple Virtual Hosts setup,
    but it sounds like you have multiple hostnames
    pointing to the same content, so your needs may be
    different.
    I'm using forwarding for the reason I list above. I didn't purchase hosting with the registrar where I purchased my domain names, so they are parked on the registrar's name server with URL forwarding to my server. The DNS server that manages my box resides in a different location and I don't have the ability to add DNS entries pointing to virtual hosts that I want to set up. Am I stuck?
    G4 Mac OS X (10.3.9) 10.3.9 Server

  • Same IP address and multiple domain names

    Hi all,
    Is it possible to have multiple domain names sharing the same IP address? For example, I want www.mydomain1.com, www.mydomain2.com, and www.mydomain3.com to share the same IP. Thanks.
    Mike Lam

    Thanks JavaApplet,
    but I'm still having the same problem,
    I have typed
    in both server.xml and apps-abc.xml and apps-123.xml:
    In server.xml:
    <Host Name= "www.abc.com" debug="0" appBase="webapps" unpackWARs="true">
    <Context path="/abc" doc="c:\Tomcat3.3a\webapps\abc" ...>
    </Context>
    </Host>
    <Host Name= "www.123.com.sg" debug="0" appBase="webapps" unpackWARs="true">
    <Context path="/123" doc="c:\Tomcat3.3a\webapps\123" ...>
    </Context>
    </Host>
    So in apps-abc.xml:
    <Host Name= "www.abc.com" debug="0" appBase="webapps" unpackWARs="true">
    <Context path="/abc" doc="c:\Tomcat3.3a\webapps\abc" ...>
    </Context>
    </Host>
    So in apps-123.xml:
    <Host Name= "www.123.com.sg" debug="0" appBase="webapps" unpackWARs="true">
    <Context path="/123" doc="c:\Tomcat3.3a\webapps\123" ...>
    </Context>
    </Host>
    but how come, the www.123.com.sg still doesn't work, it kept displaying the page cannot be found. It's very funny because if I typed www.abc.com/123/index.jsp, surprisingly the page can be displayed.
    This is a very tough problem for me and I have spent a long time troubleshooting this problem.
    Hope that some advice can be given ... thank a million
    Regards,
    Shirleen

  • Multiple domain names

    Can you have multiple domain names for your website? I
    thought that you could, but I don't know how to use dreamweaver do
    this. I'm using a host that has both of my domain names, and they
    use the same login and password. I wonder if this is the problem?
    My second domain name has it's own manage site folder in
    Dreamweaver, but it brings up the information from my first site
    (same login and password).
    Any help here? Thank you.

    > but I don't know how to use dreamweaver do this
    You don't. You ask your host to set an alias for alternate
    domain names.
    For example, my domain,
    http://www.great-web-sights.com
    also has this domain
    set as an alias -
    http://www.great-web-sites.com.
    As another example, this
    client's domain -
    http://www.squarewheelindustries.com
    - also has this
    domain as an alias -
    http://www.trailertester.com.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "SIZR Studio" <[email protected]> wrote in
    message
    news:g6a99h$k52$[email protected]..
    > Can you have multiple domain names for your website? I
    thought that you
    > could,
    > but I don't know how to use dreamweaver do this. I'm
    using a host that has
    > both
    > of my domain names, and they use the same login and
    password. I wonder if
    > this
    > is the problem? My second domain name has it's own
    manage site folder in
    > Dreamweaver, but it brings up the information from my
    first site (same
    > login
    > and password).
    >
    > Any help here? Thank you.
    >

  • Multiple domains names and web sites with only one SLS and one static IP

    I tried to find a post on this topic but I still can't find what needs to be done.
    SLS is configured for one domain with one web site and it's working well. We will call it domain1.com. Here is the config:
    Static IP: 69.x.x.x
    DNS setting under Server Admin:
    hostname: server.domain1.com
    Two DNS entries under domain1.com with:
    www - alias - server.domain1.com
    server - Machine - 10.0.1.x (fixe IP for server on LAN)
    Web settings under Server Admin:
    server.domain1.com - 10.0.1.x - Port 80
    Domain1.com is managed with DynDNS Custom DNS Service with 1 record:
    domain1.com - A-record - 69.x.x.x
    I want to host a second domain (for a website) called domain2.com. It's also registred at DynDNS and I have custom DNS setting to configure.
    What's need to be done to have both domains with seperate web site on SLS under DNS and Web settings (beside the fact that I will have 2 different folders with the website files in it). I understand that I will need a new entry in the DNS for the new domain (domain2.com) and also an entry in the Web Service pane. But what are the details.
    Thanks.

    When you said, "you don't need to do CNAME for both sites…", would this method still allow me to use personal web addresses for both sites?
    Yes. With "Ordinary Forwarding" you normally just type your .Mac url (web.mac.com/username/sitename) into a form at the place where you have your name.
    I thought I was using 'web.mac.com' as the 'www' CNAME (alias) for my personal domain name (web address), so that when someone typed in my personal domain name they would 'go' to the domain registration location, which would then pass it on to the .Mac server, where my web site is hosted.
    That's exactly right. It's just not the only way to do that. Ordinary Forwarding is another way, but it differs in terms of what appears in the address bar of the browser. Either you will see web.mac.com/username/.... or, if you add "masking", you will see your personal name for all pages. The CNAME method results in a address bar that reads www.myname.com/sitename/pagename.html.
    Am I way off?
    All help gratefully received,
    Jeff

  • Can you host multiple domain names on mobile me with iWeb '09?

    Hi
    Can anyone help, before I upgrade to iLife '09, I have a personal web domain name which I host on my mobileme account. My girlfriend now wants a website and I have bought her a domain name and want to use iWeb to design it but I can't seem to host multiple domains on iWeb '08, can you with iLife '09? Or will she have to buy her own mobile me account? Any help will be great!!!
    Thanks

    MobileMe -MME -is Apple's hosting service.
    Domain Name System - DNS translates an understandable address like www.mywebsite.com into the IP address which is a number like 40:75:92:301.
    Cname is a name of record in a database that records what domain name goes to what IP address.
    IP address is just a unique number that identifies any device connected to the internet.
    An FTP client is an application the uploads your files to a server using File Transfer Protocol.
    I mainly use Web Site Maestro because it doesn't just upload the files but optimizes them first to remove all the unnecessary code that iWeb creates to allow your website to download at least 30% faster.
    I also use Yummy FTP for sorting out and keeping track of my files on the server and uploading folders of images and music files along with their assets for flash presentations.
    I have used Host Excellence for years because of the way they allow you to name your own root folder on the server and also their great tech support.
    FTP and servers can be a bit confusing but, if you have a good hosting company, you can get by on very little knowledge and understanding. I do!
    I couldn't agree more with you about the acronyms and jargon. The more people use them usually means the less they know. One of the most misused words is "domain". I tried to sort that one out here...
    http://www.iwebformusicians.com/SearchEngines/Upload.html
    Now I'm going FUH and ATNP.

  • Coldfusion webroot and multiple domain names

    Hi All -
    I am new to this multiple domain thing. Am working on a project, where there multiple domain projects under on webroot. Like www.abc.com, www.def.com under one root. The folder structure is something like below:
    E:
    webroot
        --INCLUDES
        --IMAGES
          --image.gif
          -- www.abc.com
             --folder1
               --index.cfm
          -- www.def.com
    So the above two diff domains share two common folders. When I use an include file of form .cfm, I can get it to work. But somehow the images are not displayed. I tried the following syntaxes
    Suppose I want to access images from index.cfm under www.abc.com/folder1, i tried the following:
    <img src="../../IMAGES/image.gif">(does not work)
    <img src="E:/webroot/IMAGES/image.gif) (also does not work. The image symbol is shown but the entire image is not shown).
    Any thoughts on how to get this working?

    It's probably important to shift your thinking a bit here.  Theer are two different "roots" here (well: three, if you're looking at a default IIS install):
    * CF root;
    * web site root;
    * a directory called wwwroot
    Looking at your example:
    webroot    --INCLUDES
        --IMAGES
          --image.gif
          -- www.abc.com
             --folder1
               --index.cfm
          -- www.def.com
    webroot (which I am guessing is your C:\inetpub\wwwroot dir) in this case is not your "web root", it's your CF root, by the looks of it.  And the directories www.abc.com and www.def.com are your web roots for those two sites.
    Confusion often arises here because when one configures CF, the CF root is often mapped to C:\inetpub\wwwroot (or the htdocs dir or whatever the web root is of the web server's default site), so it seems like there's just the one "web root".  But there isn't.
    So CF will look for resources in the CF root; the web server will look for resources in the web root of the site being served.
    In your example, the websites cannot access IMAGES, because that directory is not in the web root of the site.  As someone else has suggested, you need to add a virtual directory within the website to map to the IMAGES dir.
    You cannot use .. notation to navigate up the file system to "above" the web root, because as far as the web site is concerned, the www.abc.com dir is the ROOT directory.  IE: that's as far up the file system the site can access.
    The reason why you E:\[etc] path does not work is because that path is requested by the web browser, which is going to be on a completely different computer to where the E: drive is.  The path needs to be a URL.
    Adam

  • Dealer portal system SSL setting with multiple domain name

    Hi gurus
    I have a Dealer portal system.(It is java java stack system just like EP)
    SSL certificate will expire in few days and I', planningl renew it soon.(in visual administrator key storage then send it to appropriate CA)
    Currently DP is used only by A branch. However B branch is planning to  use
    the same DP system soon.
    Two branches has different domain name such as
    Abranch.dealer-portal-ap.net
    Bbranch.dealer-portal-ap.net
    The contents that each branch see will be distinguished by source code.
    My question is
    1) can I create a public private key pair in visual administrator with
    CN = *.dealer-portal-ap.net?(Can I use * character)
    2) If not, what should I do in this situation
    thanks in advance

    By the way there is only one server.
    2 domain names are registered for 1 DP server

  • Multiple domain names for iWeb on .mac account

    I've managed to get the iWeb site I created uploaded onto a domain name i created (eg www.abc123.com). I had to change the domain name on my .mac account. The thing is it only allows you to enter 1 domain name. Now I have purchased 3 domain names, one for myself, one for my business and one for my mothers business. Is there a way round this because at the moment I can't get round it. Thanks.

    Hi Ben,
    If using .Mac hosting and other hostings as well you can have multiple domains pointed to different sites so that each site will have yourdomain.com. However on .Mac you can have only one CNAME, the other personal domains should be WebForward or WebForward with cloaking.
    - WebForward: after you typed yourdomain.com in the browser you get forwarded to web.mac.com/username/ and web.mac.com/username/ will display in the browser
    - WebForward with Cloaking (also called masking): after you typed yourdomain.com in the browser yourdomain.com will display in the browser and don't change while people browse through your website
    - CNAME yourdomain.com will display instead of web.mac.com/username/ and while browsing through your website it will look like yourdomain.com/sitename/nameofpagepeoplelookatnow.html
    If you're using Godaddy this is how to setup WebForwarding
    http://help.godaddy.com/article.php?articleid=422&topicid=
    and this is masking/cloaking
    http://help.godaddy.com/article.php?articleid=424&topic_id=165&progid=GoDaddy
    Regards,
    Cédric

  • Can I point a domain name at my web.mac account?

    Hi there, first time poster.
    I was just wondering if there was a way for one to point a domain name to a site that I've built on iweb? And if it is possible, how to find out the information that I would need to point the domain name the web.mac account?
    thanks in advanced.
    ~r~

    Its easy, usually all you have to do is look for "domain name forwarding" with your provider and your in as we say in Australia. Who is your provider?
    http://www.australianmac.com

  • Using own domain name , duplication of web address HELP !!

    Hi all,
    Although this is not a big problem it is quite annoying. I am currently building website within Iweb 09. I have managed to set up my own domain name with no problems at all. The only thing is I get a duplication of my website name on the browser here it is :
    *http://www.topviewweddings.co.uk/topviewweddings/Home.html*
    I would ideally like to just have *http://www.topviewweddings.co.uk*
    Anyone have any ideas on how to do this ??
    cheers
    T

    One way would be to use standard domain name forwarding (not CNAME) and enable masking. That would put http://www.topviewweddings.co.uk in the URL window of ALL your pages. The downside to that is visitors can only bookmark your first page which may or may not be a problem. My tutorial site, http://toadstutorials.info , is set up that way.
    OT

  • Problems with multiple Domains open in same web browser?

    Here is the problem.
    I login to one domain and then open a new webpage (same browser) and login
    to a 2nd domain. I can then navigate in both domains in each web page.
    However, when I logout of one, it logs me out of both and which ever one
    that I logged out of is the logout/login page that I see for both web pages.
    The same thing happens if I try to login to 2 different domains at the same
    time. One will override the other and I end up with the same domain open in
    both browsers.
    I am pretty sure that this has to do with the cookie, since it is probably
    using the same one for both and then getting confused. Does anyone know how
    to fix this?
    Portal Server: IPS 3.0 SP2
    Web Server: IWS 4.1 SP8

    Brian Orwig wrote:
    Here is the problem.
    I login to one domain and then open a new webpage (same browser) and login
    to a 2nd domain. I can then navigate in both domains in each web page.
    However, when I logout of one, it logs me out of both and which ever one
    that I logged out of is the logout/login page that I see for both web pages.
    The same thing happens if I try to login to 2 different domains at the same
    time. One will override the other and I end up with the same domain open in
    both browsers.
    I am pretty sure that this has to do with the cookie, since it is probably
    using the same one for both and then getting confused. Does anyone know how
    to fix this?The way the cookies are set for the current authentication are it is based on
    the portal domain/dns domains and the client ipaddress.
    When a user logs in a random session id is generated, and then once he
    authenticates the session id is made valid and is added into the session hash
    table.
    So to answer your question you can do what your trying to do if you are using
    two browsers but in the current architecture and the way sessions are handled it
    is not possible if your using just one browser ..
    iWS Sp8 is not certified to run with portal and the web server that is shipped
    with should not be updated seperately, in the past doing that has broken portal
    >
    >
    Portal Server: IPS 3.0 SP2
    Web Server: IWS 4.1 SP8

  • Transfer of Domain Name

    Ready to publish my site, found a great Web Hosting company,
    but need to transfer Domain name. The new Web Hosting company
    requires that I approve in advance any charges that they will incur
    on my behalf for the transfer of the Domain Name. Being the
    existing provider for the name (the site isn't up yet) Yahoo, I
    don't know how many dollars this could be. Any ideas?

    Okay, you bought a Domain name from Yahoo. Now you have a
    site that you want to publish. How do you transfer your Domain Name
    to the Web Hosting company? That's the question isn't it?
    First of all, this will cost you nothing. You already paid
    for your domain name and you will pay your web hosting company a
    fee for hosting your web site.
    We are dealing with two kinds of servers here: Domain Name
    servers and web page servers. Your Yahoo Domain Name servers need
    to point to the web servers that belong to the web hosting company.
    That's what it means to transer your Domain name.
    The domain name servers are the computers that contain the
    information relating to your domain name, INCLUDING THE ADDRESS OF
    THE WEB SERVER that contains your web files. There is a primary
    name server and a secondary name server. Transferring your domain
    name essentially means supplying the name servers with the address
    of the web servers that contain your web files so web users will be
    directed to your web site.
    Instructions on how to transfer your Domain name (or, in
    other words, how to edit your name servers) is on the Yahoo web
    site. Your web hosting company has probably provided you with DNS
    server addresses (primary and secondary). If not, you need to get
    that information. You take that information and follow the
    instructions on the Yahoo site for editing your name servers.
    John Cellini
    http://www.icellini.com

  • Custom domain name?

    I would like to have a MyName.com domain name for my web site. What is the best way to do this? I would prefer to have it appear that my web site is on the MyName.com address and not simply load the web.mac.com url. Is this possible? And can I do it in a way that I can move my web site to a different server someday that has my domain name without breaking people's links?

    You need to go to a place that sells domain names like godaddy.com and then have it forwarded to your .mac url. Do a search of the forum on "domain name" or godaddy and you should find tons of earlier messages on the topic.

Maybe you are looking for