I have used this tutorial environment for apps to create an app domain. And it's working just fine. See below:

enter image description here

But instead of using domain eg http://app-754d6678acde5d.myapps.com:4321/

I want to use ip like http://app-754d6678acde5d.

Anyone with idea on how to achieve that?

1 Answer 1


you need to look into dns settings like cname and FQDN (Fully Qualified Domain Name) for external access obviously.

following should help you:


as for internally within the network you can add to the host file your own .. below should be ammended where myapps.com lives (your app server)


will look something on the lines of:

# Copyright (c) 1993-2006 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
#     rhino.acme.com          # source server
#     x.acme.com              # x client host       localhost
::1             localhost    myapps.com

above allows you to enter the IP address that is pointing to myapps.com

i wouldnt use ip for live server. If this is on dev than changing the host file should be enough.

technically you should already have dns for your app server ;) so really you could just ping yourapp server url in command prompt:

ping myapps.com which should return you the ip of the server. Copy that ip and replace accordingly.

  • I have put myapps.com in my local host file.. Buyt when I try to navigate app-754d6678acde5d. I'm getting the error app-754d6678acde5d.’s server DNS address could not be found. Jan 19, 2017 at 13:39
  • i assume app-754d6678acde5d.myapps.com:4321 works? if so you need to get the server ip address for myapps.com. as noted you need to ammend the DNS to accept the ip adress that is just linked to myapps.com. does work on its own? as that is an internal ip address.
    – Ali Jafer
    Jan 19, 2017 at 13:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.