Get the website in Azure VM public access by name

Sam OZ
Sam OZ used Ask the Experts™
on
I have created a VM in Azure cloud and created a website in it.   (Windows 2016 Datacenter server . IIS site)  .  I can access a website in VM using IP .  ( LIke http://13.67.30.100/Mysite) . This need to be accessed by many users within my customer's company .  So what should be done ( Either at Azure or at the customer company ) for the site to be available by name instead of IP   like http://MyApp/Mysite  ( I don't want the to join www like www.myapp.com  . This is to be available in just the company intranet)  

I know on an individual level, I can do the hostname mapping  in the host file.  But I am looking at a company level solution
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
DevOps Engineer
Distinguished Expert 2018
Commented:
if the company has active directory create an A record in  DNS entry of the local DNS manager server.
so the site will be accessed using some like testwebsite.company.loc/site
MaheshArchitect
Distinguished Expert 2018

Commented:
here are many ways you can achieve this

If you want to access it with public name space, create host (A) record on public dns server

if not, you can create record with internal active directory dns server

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial