How can I host multiple domains on a single Mac?

It's actually a little more complicated than that.
I have a site, let's call it site.com, and it's hosted just fine on my Mac Mini, accessible via the Internet and everything.
I want to use the .co domain of my site, which is pointed to the same IP as .com in DNS records, for the Wiki feature.  Unfortunately, I'm pretty sure OS X Server won't let you use both a custom website AND Wiki, but besides that I want the two on different domains.
I have a Parallels VM of OS X 10.9 with Server installed and more or less configured for Wiki with the .co domain.... I feel like I'm really close, here, maybe just a couple of steps away, but alas, I'm stuck, mostly because all the guides I've found that cover this do so with earlier versions of OS X Server, and aren't quite doing what I want to do (another domain and Wiki as opposed to just adding a Site to the list, so I think I absolutely need a VM here).
I'm pretty sure I have to configure the DNS settings of the OS X Server instance in the host OS, and I have an IP to give it (if I put that into a browser in the host OS X, it takes me to the .co site, but going directly to .co just takes me to .com).
Any ideas?

jaygatsby1123 wrote:
So what exactly am I doing with virtual hosts?  There is a place for Aliases...  What would I put in the "Aliases" box?
Any other host name that you want to resolve to the specified virtual host.  It's quite literally an alias.
if you want www.example.com and www.example.org to end up at the same web site and you already have a virtual host — Apple refers to virtual hosts as sites — configured for www.example.com in Server.app, then you'd add www.example.org as an alias for the www.example.com virtual host (site).
Virtual hosts are implemented in a web server using some details of the HTTP or HTTPS protocol, and what the web browser (client) specified.  The client gets handed an IP address or a domain name by the user, and the client then fetches the associated IP address for the target web server from the client's DNS services or local host database, and the client then connects to the IP address and passes over the text string that the user had requested — the IP address or domain name or even some local shortcut set up in the client system — via the HTTP or HTTPS protocol.  The web server receives and processes this arriving text string from the client, and uses it to select which web site to render back to the web client.   One subtle detail lurks here, too: the server's own DNS configuration really isn't involved in the selection of the virtual host.

Similar Messages

  • How do I host multiple domains on a single Messaging Server?

    How do I host multiple domains on a single Messaging Server?
    <p>
    To host multiple domains on one Messaging Server, use the
    mailAlternateAddress attribute. If you want to host two domains
    (customer1.com and customer2.com) on your server mail1.domain.com,
    make sure that:
    The various domains (in DNS) point to the installed mail server
    (you must have the MX records that
    points mail for customer1.com to mail1.domain.com and
    customer2.com to mail1.domain.com)
    That each person receiving mail at customer1.com and
    customer2.com has an appropriate mailAlternateAddress
    attribute describing the appropriate email address. For
    instance, John Doe can have an email address (i.e. the value
    of the 'mail' attribute for the John Doe LDAP entry) of
    [email protected] and receive his mail on
    [email protected] (the value of the mailAlternateAddress
    attribute)
    With Messaging Server 3.5, mailAlternateAddress can take the
    form of @mail1.domain.com. If jdoe's mailAlternateAddress is
    set to @mail1.domain.com, mail sent to [email protected]
    will be delivered to [email protected]

    jaygatsby1123 wrote:
    So what exactly am I doing with virtual hosts?  There is a place for Aliases...  What would I put in the "Aliases" box?
    Any other host name that you want to resolve to the specified virtual host.  It's quite literally an alias.
    if you want www.example.com and www.example.org to end up at the same web site and you already have a virtual host — Apple refers to virtual hosts as sites — configured for www.example.com in Server.app, then you'd add www.example.org as an alias for the www.example.com virtual host (site).
    Virtual hosts are implemented in a web server using some details of the HTTP or HTTPS protocol, and what the web browser (client) specified.  The client gets handed an IP address or a domain name by the user, and the client then fetches the associated IP address for the target web server from the client's DNS services or local host database, and the client then connects to the IP address and passes over the text string that the user had requested — the IP address or domain name or even some local shortcut set up in the client system — via the HTTP or HTTPS protocol.  The web server receives and processes this arriving text string from the client, and uses it to select which web site to render back to the web client.   One subtle detail lurks here, too: the server's own DNS configuration really isn't involved in the selection of the virtual host.

  • How can i scan multiple pages in a single file in pdf.

    How can i scan multiple pages in a single file in pdf using 1536 dnf.

    Hi @veerendrajain ,
    I see that you would like to save multiple PDF documents into one file. I would like to help you out today.
    In the HP Scan Software, select Advanced scan settings, click on the File tab and uncheck Create a separate file for each scanned image.
    Hope this helps.
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • How can we save multiple IDocs as a single Flat file in R/3 system ?

    Hi,
    How can we save Multiple Idocs as a single Flat IDoc in R/3 (Not xmlized)
    Kulwinder

    Hi,
    Check this link for Mutiple IDOCs into single File.
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    Regards,
    phani
    Reward points if Helpful:)

  • 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.

  • How can i host multiple email accounts?

    Hi there,
    I've a problem.
    I have installed Lion os x server with the latest updates.
    I need help to set up Separate E-Mail Accounts for each Domain, so each Domain receives it's own mail.
    I have the following domains that i want to host with emails.
    www.example1.com
    www.example2.com
    Hosting of website is not a problem. I have it working including PHP+MYSQL.
    But now..How can i setup to receive and send emails with both domains? (www.example1.com and www.example2.com)
    I want to have something like this:
    www.example1.com:
    [email protected]
    Hostname: server.example1.com
    Outgoing: server.example1.com
    and
    www.example2.com:
    [email protected]
    Hostname: server.example2.com
    Outgoing: server.example2.com
    for www.example1.com it's the standard one and works fine (including apple Push). But realy confusing that i cannot get it work with example2.com.
    Can anybody help me? I've searched the whole web but cannot find a good answer.
    Thank you very much in advance!
    JBressers

    You can run multiple domains in postfix/Mac OS X server, but don't get bogged down with the hostname.
    There is nothing wrong with mail for a [email protected] being delivered to/from a server.example2.com (or vice versa). Most users never see the hostname of the server in the process, so don't bother trying to create multiple hostnames on the server to make this work. If you're really bothered just create records in your DNS that map back to the same IP address (e.g. server.example1.com -> 1.2.3.4, server.example2.com -> CNAME -> server.example1.com) so users can use either hostname.
    For the accounts, there are two ways of managing multiple domains, depending largely on your comfort level with the command line vs. GUI, and how the users map.
    If the usernames are the same (e.g. [email protected] is the same person as [email protected]) then the simplest thing to do is tell postfix to accept mail for both domains - mail addressed to either domain (example1.com or example2.com) will route to the same user's mailbox.
    If your users are different then you can either use Mac OS X-style aliases or postfix aliases.
    The Mac OS X-style aliases work through Workgroup Manager - you add all your users to the main directory, and create additional shortnames for each user's email addresses. For example, you might have a user 'joe' who is also '[email protected]', so add that second email address as a shortname.
    Postfix-style aliases require setting up in the command line, where you create maps of email addresses to users, and is well documented on various postfix-driven web sites.

  • Lion Server: How can i host multiple emailaccounts?

    Hi there,
    I've a problem.
    I have installed Lion os x server with the latest updates.
    I have the following domains that i want to host with emails.
    www.example1.com
    www.example2.com
    Hosting of website is not a problem. I have it working including PHP+MYSQL.
    But now..How can i setup to receive and send emails with both domains? (www.example1.com and www.example2.com)
    I want to have something like this:
    www.example1.com:
    [email protected]
    Hostname: server.example1.com
    Outgoing: server.example1.com
    and
    www.example2.com:
    [email protected]
    Hostname: server.example2.com
    Outgoing: server.example2.com
    for www.example1.com it's the standard one and works fine (including apple Push). But realy confusing that i cannot get it work with example2.com.
    Can anybody help me? I've searched the whole web but cannot find a good answer.
    Thank you very much in advance!
    JBressers

    G'day mate,
    You are posting in the 10.7 Lion client forum, rather than the 10.7 Lion Server forum.
    Thus it's quite likely that no-one here know the answer.
    Here's the link to the correct forum:
    https://discussions.apple.com/community/servers_enterprise_software/mac_os_x_lio n_server
    Good luck!
    Rodney

  • How can I connect multiple clients to a single client ?

    I am currently developing an instant messaging program.I created a server and connected multiple clients to it by using thread logic.However I do not know how to connect multiple client to a single client.
    What shall I do for that?Does anybody know a good tutorial or sample program?Or shall anybody explain me what I shall do for building the Instant Messaging part of my chat program?
    Thank u in advance.

    You may use UDP multicast socket. But since you are using the UDP protocol you might risk losing the data that you send since UDP does not guarantee the safe transfer of data.
    Alternately, you might create a server that allows multiple client to connect to it whose connection Socket objects are then stored in a Vector <Socket> object. The server then sends back data to the connected client about the other clients connected to it. Now when the client wants to send data (like an IM) to another connected client, it has to send a request to the server specifying the client login name and the server in turn streams that particular client's Address and Port to the requesting client. The requesting client then initiates the connection with the other client and then starts a conversation. One more thing, when the client communicates it needs to send information to the server like the name by which it likes to be referenced. In this scenario the server acts like a central repository for clients to query the existence of other clients in the chat room. Each client here runs a thread that listens to incoming connections and when a connection is established, may be opens a IM window or something.
    The third option is to make the server to relay the information from one client to another. Like say, I'm connected to whoopy server and i want to send "Hello" to jackson, then i send the message (ie, Hello) along with the name of the client to which i wish to send it to (ie, jackson). The server then performs a lookup in its Vector <Socket> object and then initiates a connection with jackson and sends the information. However, this method is pretty costly in that you will be wasting a lot of processing behind the server.
    --Subhankar
    P.s. If you stumble upon any other brilliant ideas let me know.

  • How can we see multiple devices on a single map using find my ipad?

    We have 70 iPad/iPhone devices that we want to locate at any given time.  How can we display them on a single map?

    if they use the same appleID then you can do it at www.icloud.com

  • How can I print multiple pictures on a single sheet?

    Today 3/27/2012 I tried downloading HP software that says it has a new feature that allows printing multiple pictures on a single sheet of photopaper.  The download started and halted at only one square and sat there flashing for hours, meaning it wasn't downloading on my Pavilion desktop computer.  Since it's a new feature (apparently), no wonder no one as yet has asked this question and so I doubt if anyone has the answer.  But, I'll wait to see.

    You are probably going to get help by posting in the iPhoto forum. You can easily locate it by clicking on Apple Support Discussions on the top left of this page then navigating to the iPhoto forums.
    Roger

  • How can i add multiple validations for a single input box in adf?

    hi,
    i want to add multiple validation for a single input text control in adf like number validation and its existence in database.
    MY JDEV VERSION IS 11.1.1.5.0
    pls help !!!!

    Hi,
    1.I want to validate if the value entered is pure integer
    Option 1-
    select the component and in the Property Inspector, in the "Core" category select a "Converter" format, select javax.faces.Number, if the user put a string, adf show a dialog error or message error...
    Option 2-
    or use the Regular expression:-
    http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_validateRegExp.html
    https://blogs.oracle.com/shay/entry/regular_expression_validation
    Also check this:-
    http://docs.oracle.com/cd/E15523_01/web.1111/b31973/af_validate.htm#BABHAHEI
    Option 3-
    Frank in his great book 'Oracle Fusion Developer Guide' shows a example using a javascript for input which is allowed only for numbers. You can manipulate for your requirement.
    Here is the code:
    function filterForNumbers(evt) {
        //get ADF Faces event source, InputText.js
        var inputField = evt.getSource();
        var oldValue = inputField.getValue();
        var ignoredControlKeys = new Array(AdfKeyStroke.BACKSPACE_KEY, AdfKeyStroke.TAB_KEY, AdfKeyStroke.ARROWLEFT_KEY, AdfKeyStroke.ARROWRIGHT_KEY, AdfKeyStroke.ESC_KEY, AdfKeyStroke.ENTER_KEY, AdfKeyStroke.DELETE_KEY);
        //define the key range to exclude from field input
        var minNumberKeyCode = 48;
        var maxNumberKeyCode = 57;
        var minNumberPadKeyCode = 96;
        var maxNumberPadKeyCode = 105;
        //key pressed by the user
        var keyCodePressed = evt.getKeyCode();
        //if it is a control key, don't suppress it
        var ignoreKey = false;
        for (keyPos in ignoredControlKeys) {
            if (keyCodePressed == ignoredControlKeys[keyPos]) {
                ignoreKey = true;
                break;
        //return if key should be ignored
        if (ignoreKey == true) {
            return true;
        //filter keyboard input
        if (keyCodePressed < minNumberKeyCode || keyCodePressed > maxNumberPadKeyCode) {
            //set value back to previous value
            inputField.setValue(oldValue);
            //no need for the event to propagate to the server, so cancel
            //it
            evt.cancel();
            return true;
        if (keyCodePressed > maxNumberKeyCode && keyCodePressed < minNumberPadKeyCode) {
            //set value back to previous value
            inputField.setValue(oldValue);
            evt.cancel();
            return true;
    2.I want to check if the value exists in my respective DB You must be having EO or VO if you want to validate with database in that case use the solution suggested by Timo.
    Thanks
    --NavinK                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How can I host multiple sites?

    What I want to do is host a site on my .mac account as I do now. I want to add a personal domain and host a separate site. Can I do this?
    When I set up the personal domain it now sends both sites to that domain. How do I keep them separate?

    Since you're asking a question about .Mac web sites, your question is best asked in the .Mac forum. This forum is for questions related to Mac OS X Server.

  • How can I host multiple DNS zones using OS X Server?

    Simply that. I want to host several zones and can't find a UI to do it.
    Is it a case of hacking at the named config files and never using the UI again? That would seem rather ridiculous.
    Thanks,
    Neil.

    Solved myself. The advanced options in DNS manager don't appear unless you tick "Show all records" in the drop down. Checking that gives access to many more types of entry in the "+" menu, and also enables editing existing zones via double-clicking them.

  • How can I sort multiple tables on a single page as if they were one continuous table?

    I have a single narrow column of numbers that cover multiple pages. I would like to do either of the following: break that long single column into multiple colums that fit on one page and are still able to be sorted in that arrangement OR sort the long column as it is (spread out over multiple pages) and then break that long sorted column down into multiple segments that can be placed onto a single page.
    I have been sorting the long single column, then copy and pasting sections from the column onto a new page so that I can print them on a single page.
    I am hoping there is a more elegant method to do this.

    Hi Walt,
    Sorting is one of the things that changed between Numbers '09 and Numbers 3. If you are on Mountain Lion I want to assume you are using '09. Is that true?
    This will work in '09 and 3. Table one is a single column with entries 1-89.
    A2 ==INDEX(Table 1 :: $A,ROW())
    B2 =INDEX(Table 1 :: $A,ROW()+35)
    C2 =INDEX(Table 1 :: $A,ROW()+70)
    The formulas are filled down.
    You can adjust the formulas in B and C to reflect how many rows fit on your page.
    quinn

  • How can i pass multiple values by a single variable to EXECUTE IMMEDIATE

    Hi All,
    I want to pass multiple values for where condition for execute immediate. Something Like this:-
    bold
    Declare
    v_cond varchar(1000);
    Begin
    v_cond := '''INR','USD'''; --(OPTION 1)
    v_cond := 'INR,USD'; --(OPTION 2)
    EXECUTE IMMEDIATE 'Delete from table where colm in (:v_cond)' using v_cond;
    END;
    bold
    I am using this into a procedure
    Now option 1 gives an error ie a syntax error (; expected or something like that)(I am sorry, i can't tell the exact error here as i am not in the office right now)
    and option 2 makes the procedure execute but obviously doesn't delete the records, as it takes the whole as one.
    Please Help
    Regards
    Neeraj Bansal

    See the links containing examples under
    *7. List of values in an IN clause?*
    SQL and PL/SQL FAQ
    from the SQL and PL/SQL FAQ.

Maybe you are looking for

  • Scheduling Agreement & Planning Time Fence

    Hello, I read a lot of articles on Planning Time Fence and the MRP Types P1 to P4 that goes with it. And I have tested it out in a Testing Environment. But I can't get it to do what I need. This is a normal planning with no PTF and MRP Type PD. Somet

  • NWDS not working in 64 bit windows vista os

    Hello , This question seems to be basic, How am i suppose to find out the NWDS installed on my system whether its a 32-bit or 64-bit I was initially working in NWDS on windows 32 bit OS , Now i have installed the NWDS into the other windows which is

  • ProcessDPCommands  Error WIS 30270 for BW key figures

    Hello,   we created a BO universe on top of a BW 3.5 query.   In Webi, when we try to report on the universe we are getting this error  "an internal error occured while calling the 'processDPcommands' API (Error: 30270)".  We are using XI R3 version

  • PROVIDE SYNTAX?

    Hi, If i take one infotype data we are taking like this... PROVIDE * FROM P0002 BETWEEN PN-BEGDA AND PN-ENDDA. WRITE: P0002-PERNR, P0002-NACHN, P0002-VORNA. ENDPROVIDE. But i want multiple infotypes data like 0000,0006,0008....?Give me the syntax of

  • Data selection issue ..

    Hi all, Can any body tell me the reason of this output. First query doesn't show any count but when I add "rownum >=1" then it shows the required output, why this unexpected output is ??(I am using Oracle 9i Release 1,Version 9.0.1.0). SQL>select cou