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

Similar Messages

  • 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

  • Migrate Active Directory 2008 to 2012 but need to keep the same ip address and server name

    Hi,
    Current setup is 2 DCs in one site running 2008 R2 AD.
    We are planning to migrate from 2008 R2 to 2012 R2 but need to keep the same ip address and server name. I have came up two plans to do this and hope someone can tell me which one would be the best approach. What is the pros
    and cons in Plan A and B or may be plan C if there is a better one?
    First, I was planning to do plan A but just had a second thought of Plan B.  My concern in Plan A is about changing the server name when the new 2012 R2 already running as DC.  Plan B would be changing all the old server
    name and ip before they become member sever and DC. 
    Any information and suggestion would be very appreciated.
    Plan A
    Run adprep /forestprep on 2008 R2 DC
    Build a new 2012 R2 server and promote it as 3rd DCs in current Domain
    Transfer FSMO from 2008 R2 to 2012 R2
    Run Repadmin /syncall to force replication
    Rename the demoted 2008 R2 DC to something else
    Change the demoted 2008 R2 ip address to something else
    Restart the demoted 2008 R2 server to take effect
    Now, run Netdom computername command to change the new 2012 R2 server name to the old 2008 R2 DC server name
    Change the new 2012 R2 DC's ip to old 2008 R2 DC's ip
    Run ipconfig /flushdns
    Run ipconfig /registerdns
    DCDIAG to see any error
    Plan B
    Build 2 new 2012 R2 standalone servers
    In 2008 R2 ServerA transfer FSMO to 2008 R2 ServerB
    Demote 2008 R2 ServerA to become member server
    Rename 2008 R2 ServerA to something else and change the ip address to something else and shut it down
    Now, rename one of the new 2012 R2 standalone server to the old demoted 2008 R2 ServerA name
    Change the new 2012 R2 standalone server ip to the old demoted 2008 R2 ServerA's ip address
    Add the new 2012 R2 standalone server (now with the old 2008 R2 ServerA name and ip) to become member server
    Run adprep /forestprep on the 2008 R2 ServerB
    Promote the new 2012 R2 (now with the old 2008 R2 ServerA name and ip) as DC
    Transfer 2008 R2 ServerB FSMO to the new 2012 R2 DC (now with the old 2008 R2 ServerA name and ip)
    Demote 2008 R2 ServerB as member server
    Rename 2008 R2 ServerB to something else and change the ip address to something else and shut it down
    Now, rename the 2nd new 2012 R2 standalone server to the old demoted 2008 R2 ServerB name
    Change the new 2012 R2 standalone server ip to the old demoted 2008 R2 SeverB 's ip address
    Add the 2nd new 2012 R2 standalone server to become member server
    Promote it as DC
    Run DCDIAG to check error
    Thanks.

    Hi,
    Renaming a Domain Controller is a risky operation which may lead to issues, therefore, I would suggest you go with the Plan B, rename the server before it becomes DC.
    Here is a blog below which could be helpful to you:
    Remove an Old DC and Introduce a New DC with the Same Name and IP Address
    http://blogs.msmvps.com/acefekay/2010/10/09/remove-an-old-dc-and-introduce-a-new-dc-with-the-same-name-and-ip-address/
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • 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

  • 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

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

  • Can I use the same email address for multiple seats in Creative Cloud for Teams?

    Can I use the same email address for multiple seats in Creative Cloud for Teams?

    No. http://www.adobe.com/products/creativecloud/faq.html
    Can I buy more than one membership to an individual offering of Creative Cloud? 
    No, Adobe has moved to identity-based licensing with a technology that will not support multiple same-product licenses, so you can buy only one membership per Adobe ID. If you need two Creative Cloud memberships, you will need to purchase each with a unique Adobe ID. You can also purchase a Creative Cloud for teams membership, which allows you to purchase and manage multiple seats under one account.

  • Cannot assign same MAC address to multiple ephones

    Hello,
    When i try to add a telephone IP to CME i got this message
    MAC address is already assigned with ephone 28.
    Cannot assign same MAC address to multiple ephones
    i delete the ephone 28 with this command
    #ephone 28
    #no mac-adress
    #exit
    no ephone 28
    and i try to add my phone i have always the same error message.
    and when i tap #show runing config i cant find no ephone with 28
    could you help me please.
    Thank you

    Assign a dummy mac address to ephone 28.

  • HT5624 My husband and I share an Itunes account so use the same email address and password.  Our iphones are now connected and we get each other's messages and share each other's contacts.  How can we stop this happening?

    My husband and I share an Itunes account so use the same email address and password.  Our iphones are now connected and we get each other's messages and share each other's contacts.  How can we stop this happening?

    A couple of different approached:
    Create a second AppleID for one of you that includes the email address and phone number you wish to use for messaging, but do not apply it to the iTunes and app store (just keep the current one). My wife and I do this and it works quite well. Also allows for easier syncing of Contacts , notes etc. using icloud if you wish to do that.
    Add additional emails/phone numbers to the existing account and change the Send/Receive settings for Messages. this will not fix the Contcts isues for you however.

  • I have an iPhone 4 and an iPod 4th gen linked to the same email address and apple ID. I am trying to set up a new email address for the iPod so a family member can use it but it doesn't want to recognize the new email account. Where am I going wrong?

    I have an iPhone 4 and a 4th gen iPod linked to the same email address and apple ID. I am trying to change the email address on the iPod so a family member can use it but when I do it says it doesn't recognize the email address. Where am I going wrong ? I just want them to be able to iMessage and email without having to use my email address.

    The procedure is Settings>Messages>Send & Receive at>You can be reached by iMessages at>Add another email address. The email address has to be a valid working email address, obviously. Apple should verify the email address and you have to go to the inbox of that email account, read the verification email from Apple and follow the inductions in the email in order to complete the verification. Then you go back to the settings, uncheck your email address and check the new email address to be used as the contact email address.

  • TS3899 Can two people have the same email address and password on their phone?

    Can two people have the same email address and password on their phone?

    I guess so.    But the email content will mirror on both phones.
    If you are talking about your Apple ID and iCloud email, yes, it is possible, but again the phones will mirror.   You should not have the same Apple ID and iCloud both.  
    Why?
    If you explain the reason for the question we may have a solution that works for you.

  • My wife and I share the same email address and Apple ID.  We are not able to send and receive Text Messages to one another.

    My wife and I share the same email address and Apple ID. We are not able to send and receive Text Messages to one another. Is the cause of this because we share the same Apple ID? Will we have to set up 2 separate primary email addresses to be able to  send and receive Tex Messages to one another? Like I said, we share the same email address and woul like to keep it that way to keep up with our email together. Is there a way to by-pass having to set up 2 primary emaill addresses if this is the problem?
    Thanks.

    go to the settings and turn off imessage
    but that don't change the issue that you will never be able to facetime eachtoher
    the appleID is really meant as the handle that identify you it was not meant to be shared
    but can see that people may want to do not buy apps more then once

  • Mac and personal domain names

    How to set up your iWeb and personal domain names, How do you get your iWeb DNS. tHANKS

    Mac/iWeb and domainnames have nothing to do with each other.
    Your domainname is related to your webserver. With or without iWeb.
    And there is no such thing as an iWeb DNS.
    Check where you have your webhosting and domainname registered.
    And in case the message did not get across, MobileMe ends at the end of this month. And so does Personal Domain, which is a MMe feature.
    Browse this forum.

  • My childs ipod and my ipad have the same email address and itunes ID how do I stop both devices duplicating everything, change email address or set up new itunes account?

    my childs ipod and my ipad have the same email address and itunes ID how do I stop both devices duplicating everything, change email address or set up new itunes account?

    On each device go to Settings> iTunes and App store> Turn off automatic downloads of Music, Apps and Books.  Now a purchase will only go to the device from which it was ordered.

  • Why does my e-mail address and not my name/number appear on recipients phones when I text them?

    When I send text messages recipients are seeing my e-mail address and not my name/number.  Is there something I need to change in "Settings" to identify my number as me (by name) and not to see me as my e-mail address?  Heeeeeeeeelllllllppppppppp.............

    settings->messages and turn off iMessages
    though every time it use the email it's because it's not sendt as a sms but over the internet
    so you saving money

Maybe you are looking for

  • Installing Win 7 via Bootcamp on 27' iMac 2010 gives BLACK screen, BLINKING cursor error (BSBCE)?

    Hi All, All coments appreciated regarding thiis issue. I have a 2010 27' i7 2.93Ghz iMac with 8Gb ram, 2Tb Seagate, and 256 Samsung SSD. I am running 10.6.8 with all updates on the 2Tb Seagate (has BC 3.04), and 10.7.1 on the Samsung (has BC 4.0). I

  • JDBC ODBC bridge for MS Access - language/locale problems

    Hi, I have an application that uses a MS Access database. I have a user in Turkey that is experiencing the following problem: My Java app requests for example the following query: select name from activitiesThen I get the following error: java.sql.SQ

  • HT204368 Problems with connectivity between iPhone 4S and Jawbone!!

    I have a Jawbone bluetooth headpiece. Recently I have had problems with intermittent connectivity with my iPhone 4S. The Jawbone is searching for the phone but sometimes it doesn't connect and when it does it will lose the connection after a few seco

  • Images save blurry

    Hi, first off let me begin by saying no, it's not a problem with firmware 2.2, because I'm using firmware 2.1. Secondly, no, updating to firmware 2.2 will not fix this problem as most people with this problem are using firmware 2.2. The problem is wh

  • Blinking Printers in Printer Setup Utility

    Hello - Let me start by saying I am no Mac expert at all. I am the network admin for my company but only support two Macs and thus do not have much interaction with them but I am tech savy. We have one of our Adv department living remote in a differe