Using domain name instead of ip address

I have a tomcat server installed on machine1(server). I can access this server from other computer on intranet using http://ipAddressOfServer/. Now, I want to access the server using a domain name, for example http://domainName.com. Can we do that in Tomcat or does it require to install any third party software.

You can associate a Virtual Host to the loopback IP address 127.0.0.1 read about Virtual Hosts here: http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
But with the above configuration alone you can access your app via http://somedomainname.com only on your local machine, no one else on the internet will see it.

Similar Messages

  • Database creation: use machine name instead of ip address.

    I am creating a new database using the Database Configuration Assistant. After the install, it tells me that the EM can be approached through http://192.168.198.128:1158/em. However, since the ip-address is dynamic, i'd prefer to refer to the machine name instead of the ip address. During the setup I could not see where to change this.
    Regards,
    Rick

    user10064100 wrote:
    Thanks for your replies, I will try that. Version info: 10.2.0, on a Windows Server 2k3. The server runs in a virtual machine, which is pretty much the root of the problem: it tends to change ip addresses when restarting it. I will now install the loopback adapter and see what happens.
    Edited by: user10064100 on 8-dec-2008 7:48Ah, a server on a virtual machine. Why didn't you say that in your initial posting? I would think that would be much different situation than the usual 'changing ip' configuration of placing a sandbox database on a DHCP desktop or laptop machine...
    I don't have any experience with VM's, so I'll leave that to those that do. At the least, I'd expect the loopback adapter to not necessarily be your solution. That's for the assumptions that I clearly stated in my first response. If those assumptions don't match your situation (and it is now clear that they don't) then you need consider that before taking any advice based on those assumptions.

  • Domain Name instead of IP Address

    Hello,
    When I run a JSP page from Jdeveloper, by default it is taking the IP address, how can I set this to take my computer domain name?
    Thanks

    Yup... you can do it from Embeded OC4J Server Pref available from Tools menu
    In this screen the select Global -> Startup, there you should be able to choose what you want to use. If you want to use custom value apart from IP/ Hostname liek 'localhost', you can do that also.
    This works in 10g, but there should be similar setting in earlier version of jDeveloper as well.
    regards - rutwik

  • OBIEE presentation url to use domain name

    Experts,
    I would like to make OBIEE presentation url to use domain name instead of ip address.  What and where is the change required for this?
    Currently the url is like this - http://10.20.123.456:9704/analytics/saw.dll?Dashboard and we want something like this http://myobiee.com:9704/analytics/saw.dll?Dashboard
    OBIEE : 10.1.3.4
    Regards,
    Sarvan

    Hi Vamsy,
    Thanks for your response.  I tried your suggestion in my local installation, but no luck.
    Network Error (dns_server_failure) 
    Your request could not be processed because an error occurred contacting the DNS server.......
    Am I missing something here.  Do you think it is this simple to achieve?
    Regards,
    Sarvan

  • EmailWriterImpl error : 553 5.5.4 user1 ... Domain name required for sender address user1

    hi all,<br />i am trying lc8 with a turnkey+jboss install on a windows2003 box, and getting the error below, where do i need to make the changes to correct this error? TIA<br /><br />2008-05-15 16:35:00,578 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] begins process emails: <br />2008-05-15 16:35:00,578 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] EmailSource is Locked: [email protected]<br />2008-05-15 16:35:00,593 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] EmailSource is Locked: [email protected]<br />2008-05-15 16:35:00,734 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] done process emails: <br />2008-05-15 16:35:00,750 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] unlock EmailSource : [email protected]<br />2008-05-15 16:40:00,109 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] begins process emails: <br />2008-05-15 16:40:00,125 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] EmailSource is Locked: [email protected]<br />2008-05-15 16:40:00,125 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] EmailSource is Locked: [email protected]<br />2008-05-15 16:40:01,203 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] done process emails: <br />2008-05-15 16:40:01,312 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] unlock EmailSource : [email protected]<br />2008-05-15 16:40:01,609 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract com.adobe.idp.um.api.infomodel.User com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManager.getExpandedAuth enticatedUser(java.lang.String,java.lang.String,int) throws com.adobe.idp.common.errors.exception.IDPException,com.adobe.idp.common.errors.exception. IDPSystemException, causedBy:<br />com.adobe.idp.common.errors.exception.IDPSystemException: nullorigin: | [com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManagerBean] errorCode:13316 errorCodeHEX:0x3404 message:user_identifier:SuperAdmin domain:abx.xyz.com<br />     at com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManagerBean.getExpanded AuthenticatedUser(DirectoryServicesManagerBean.java:1181)<br />     at sun.reflect.GeneratedMethodAccessor365.invoke(Unknown Source)<br />     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />     at java.lang.reflect.Method.invoke(Method.java:585)<br /><br />[...]<br /><br />2008-05-15 16:40:01,937 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailWriterImpl] EmailWriterImpl error : 553 5.5.4 <user1>... Domain name required for sender address user1<br /><br />2008-05-15 16:40:01,937 INFO  [STDOUT] javax.mail.MessagingException: 553 5.5.4 <user1>... Domain name required for sender address user1<br />2008-05-15 16:40:01,937 INFO  [STDOUT]      at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1020)<br />2008-05-15 16:40:01,937 INFO  [STDOUT]      at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:716)<br />2008-05-15 16:40:01,937 INFO  [STDOUT]      at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:388)<br />2008-05-15 16:40:01,937 INFO  [STDOUT]      at <br /><br />[...]<br /><br />2008-05-15 16:40:01,953 INFO  [STDOUT]      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)<br />2008-05-15 16:40:01,953 ERROR [com.adobe.idp.dsc.provider.service.email.impl.write.EmailResultHandlerImpl] Internal error.

    bump...
    Anyone got a fix for this? Vacation auto-reply is being bounced by 3rd party relay server due to malformed sender address.

  • SAML-based claims authentication in SharePoint: how to show Display Name instead of email address?

    Hello,
    I followed the following step by step guide for SAML-based claims authentication with ADFS:
    http://technet.microsoft.com/en-us/library/hh305235.aspx
    The authentication works well; however, Sharepoint shows the users’ email everywhere including at the top right suite-bar. I rather to see users’ display name instead of email. Is there any way to have SharePoint shows user’s display name instead of email
    address when the primary SAML claim is email address?
    Thank you,

    You need to be able to import the identity store into the UPA. See http://sharepointobservations.wordpress.com/2013/08/06/sharepoint-2013-configure-user-profile-service-for-adfs-provider/ for
    a good step-by-step on how this is configured.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Web Sharing - name uses weird domain name instead of IP

    Just bought a new MacBook Pro and transferred my account info from my other MacBook Pro. When I go to Web Sharing to click on the link to go to my website on my local drive I get someonesname.companyname.net/~myname.
    I need it to be the IP address.
    The domain name someonesname.companyname.net shows up in the Networks Netbios setting as well.
    I had to fix this on the last MacBook Pro, but that was two years ago and can't remember what I did to fix.
    HELLLLPPPPPPP!

    Just bought a new MacBook Pro and transferred my account info from my other MacBook Pro. When I go to Web Sharing to click on the link to go to my website on my local drive I get someonesname.companyname.net/~myname.
    I need it to be the IP address.
    The domain name someonesname.companyname.net shows up in the Networks Netbios setting as well.
    I had to fix this on the last MacBook Pro, but that was two years ago and can't remember what I did to fix.
    HELLLLPPPPPPP!

  • 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

  • Using domain object instead of generated ones?

    I'm using NetBeans, and I'm curious if there's a way that we can use our domain objects with the web service calls rather than the empty stubs generated by wsgen?
    wsgen creates the skeletal client classes, as well as an ObjectFactory that returns instances of those classes. I imagine I could modify ObjectFactory to return our domain objects instead, but then we'd be breaking with wsgen.
    Is there a better solution to this?
    Thanx!

    You can associate a Virtual Host to the loopback IP address 127.0.0.1 read about Virtual Hosts here: http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
    But with the above configuration alone you can access your app via http://somedomainname.com only on your local machine, no one else on the internet will see it.

  • How to retrieve the fully qualified domain name from the IP Address?

    Hi,
    How can i retrieve the commplete host name along with the domain name (something like x.y.com) of a server?
    I tried using the InetAddress.getHostName(), getCanonicalHostName(), etc but it retrieves me only the host name (only x in x.y.com)
    Is there a way to solve ?
    Thanx and Regards
    Biju Nair

    getInetAddress() of Socket Class will return the remote IP address in a InetAddress object.
    Use the object with the getCanonicalHostName() of InetAddress class.
    I may be wrong though. Cheers!

  • Using domain names in access rules

    In an access-rule, is there a way to define a host by using its FQDN, without the IOS resolving the name to an IP address? My problem is that I'm trying to give my home PC secure access to my router's SDM, but my ISP changes my IP address every few days. I have DDNS service from no-ip.com, so I have a valid FQDN that never changes. Is this possible? I have a Cisco 2811 with IOS version 12.4(3g). Any help or advise will be appreciated.

    Agreed, you have to have some semblence of an IP address segment. In my part of the world we pay the extra $9.99 to get a static IP Address from a local ISP. When it comes to having reliable remote access to the network we have to administer and maintain, it's worth it.

  • HT4436 If someone else has set up an ICloud account (that uses his name in the email address) using my Apple ID, do I have to change my Apple ID to open an account with my name in the email address?

    If someone else has set up an ICloud account using my email address and Apple ID but has chosen his name for the mail name, can I get rid of his name in the [email protected] and put mine in there?  Or do I have to set up a whole new acount with a new Apple ID?  Will I be able to do that with his name already linked to my email address?

    How did he manage to do this? - he would have to have known your password if he was using an existing Apple ID. You should change it immediately to something strong and unguessable. That will prevent him accessing the account or using the email he has set up (assuming he hasn't changed the password and locked you out).
    You can't change the primary @icloud.com address once set up, though you can create additional addresses as email aliases: if he's given this address out you will get his emails but you could set up a Rule to trash them.
    You might to better to create a new ID and iCloud account anyway. To do this you wil need a different non-Apple email address (you could use a free GMail one); or you have the option in the iCloud prefs pane to choose an @icloud.com address and make that the ID.

  • Web Service Client using computer name instead of IP

    Hi,
    I've built a small EJB web service with a JAVA application deployed via JAVA Web Start for the client.
    I testing the application on our LAN and it worked perfectly on one machine. I tested it on another machine and I get an erro along the lines of:
    HTTP Transport Error java.net.UnknownHostException: Ian
    "ian" being the computer name of the server machine hosting the EJB we service. I presume the program worked on the first machine as it new which computer on the LAN was "ian", whereas the second machine didnt'.
    The applications were built in NetBeans and the only place i can see the "ian" address being used is in the client WSDL file:
      <service name="VOQAOnline">
        <port binding="tns:VOQAOnlineSEIBinding" name="VOQAOnlineSEIPort">
          <soap:address location="http://ian:8080/VOQAOnline-EJBModule/VOQAOnline"/>
        </port>
      </service>Netbeans seems determined to keep this address using the computer name, even if i delete the web service refernce add it again using the server ip address. I've also tried editing the WSDL file in the client JAR post compile, however the error still occurs, so maybe the problem is somewhere else?
    The App server I am using is JBoss 4.0.3. Maybe there is a configuration on the server i need to do?
    Eventually I plan to deploy the client app over the Internet, so using the computer name is clearly insufficient and it needs to use the IP. It's really annoying how it works on some machines on the network but not others. Any ideas on how to solve this?

    You can associate a Virtual Host to the loopback IP address 127.0.0.1 read about Virtual Hosts here: http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
    But with the above configuration alone you can access your app via http://somedomainname.com only on your local machine, no one else on the internet will see it.

  • Question on domain name impact on email address

    All,
    I am setting up a new Exchange 2013 server to replace an old GroupWise server. Forgive my ignorance but I am new to Exchange.
    My AD root domain is like this "LHISD.WATER.TX.NET". The Edir is set as "WATER.TX.NET"
    So with our GroupWise Server a users email is like
    [email protected] Can I use the same format even though the Exchange server is in a root domain called "LHISD.WATER.TX.NET", or am I stuck with
    [email protected] ?

    Yes you can have them. This can be acheived using accepted domain in Exchange 2013 server as WATER.TX.NET
    Find the below url on how to create accepted domain in Exchange server 2013
    http://technet.microsoft.com/en-us/library/jj657734(v=exchg.150).aspx
    Create email address policy and add the newly created accepted domain in it. When you are creating new user you  can able to get email address as  [email protected]
    Exchange Queries

  • 5 second delay  when using server name instead of ip in JNLP codebase??

    Hello,
    can anyone think of why, in my jnlp file when I have codebase="http://www.mysite/..." my rmi app has an additional delay of 5 seconds when making RMI calls? If I replace www.mysite with 64.29.187.xxx (i.e the ip used to access the server form the internet) my app runs flawlessly, no 5 second delay.
    I am using java 6.0.
    Any ideas? Thanks in advance.
    SC

    Thanks for the tip Khumar... A few more questions:
    1) Why is it still using the DNS after it's loaded the jnlp. To access my RMI server I'm already using an IP address. In other words, this should resolve during the jnlp loading time. Why is it interfering with normal operations after the app is up?
    2) All the jars have already been loaded. There should be no further need to access a DNS, as there's nothing further to resolve
    3) Is there a way to cache the IP addy that the server name translates to?
    Thanks in advance,
    Sal C

Maybe you are looking for