Forum Discussion
How to assign an existing public IP (e.g. mydomain.org) to Azure VM (IIS on WinServ2019DC)
Hi,
I have one VM running (ISS on WinServ2019 DC) with internal IP and static public IP (provided by Azure in “vmname.westeurope.cloudapp.azure.com“ domain) but I have got a domain (e.g. mydomain.org) with associated public IP which I bought (not in Azure Marketplace) for myself. This domain was added in my office 365 business premium setup.
How can I assign my existing public IP (mydomain.org) to this (ISS) VM through powershell and Azure Portal?
Please advise.
Thank you in advance.
Regards,
Wilhelm
- Pawel KostelnikCopper Contributor
wimeister As far i remember, you can not add any other IP-Addresses except the onece, which are assigned to microsoft.
- wimeisterCopper Contributor
thx Pawel.
I added mydomain.de with related public IP to Microsoft DNS Server via Office 365 Setup Utility so this domain and this public IP is assigned to Microsoft DNS but probably I should do some additional configuration in Azure (DNS service ?!…).
Regards,
Wilhelm
- Pawel KostelnikCopper Contributor
wimeister so you added your domain to office 365. If you wanna to access the VM (IIS service?) threw web, then you need to add an cname in the DNS Service to point "your.domain" to the static IP of the Azure VM. you also have to create access rules in the Network security Group, which allows traffic from everywhere to your VM on your designated Port (http/80 or https/443 or any other).
Is this more something you like to know ?