Pointing only the subdomain to another subdomain in azure [closed] - azure

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have a domain say example.com and subdomain demo1.example.com hosted in azure and working fine
I want to point another subdomain paris.anotherdomain.com point to demo1.example.com in azure
while anotherdomain.com is hosted elsewhere
I think it's possible as lots of white label sites work that way but the azure support person does not know how to, says it's not possible without having to add Azure DNS Nameservers to anotherdomain.com that is currently not in Azure DNS
any pointers on what configuration is needed ?
UPDATE -
Added cname record paris at anotherdomain.com registrar which points to demo1.example.com but not working yet, getting an SSL error, removed SSL required on Azure and no go still !
config required on azure as the site uses SSL which requires adding a certificate and custom domain in azure for it to work !

You could follow this to map a subdomain by using a CNAME record.
In this case, create a CNAME record in the anotherdomain.com zone.
paris CNAME demo1.example.com.
Then enable HTTPS for this custom domain, refer to Secure a custom DNS name with a TLS/SSL binding in Azure App Service

There is a very simple solution to this. Wherever you have configured DNS for anotherdomain.com create a CNAME record to pointing to paris.anotherdomain.com.

Related

Point existing domain to new hosting that has temporary domain and make it the primary domain [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this question
How would I take an existing domain and point it to a new website on a different server?
Specifically:
I have a website currently, lets call it www.example.com hosted on an old hosting company. This website is going to go away entirely and be replaced with a new one. The new website is being built and currently hosted on www.example.org (notice the .org). The domain is registered with GoDaddy so I changed the nameservers to point to my HostGator VPS hosting plan that has 2 dedicated IP addresses.
Is this as simple as pointing the nameservers for www.example.com to the nameservers on my new hosting with HostGator? I am getting confused with the way that hostgator has a "Primary Domain" currently set to www.example.org but eventually will need to be www.example.com.
It will not cause any issue if the primary domain is set to example.org.
You will have to add the current domain (example.com) to the service with HostGator and upload the site content in the domain's root directory (example.com).
Once the content is uploaded properly, you will have to change the nameserver of your current domain (example.com) to point it to the new server.
The simplest way is.
You can contact your hosting provider to change the primary domain to example.com. Then you will have to change your domain's name servers to point it to the new hosting service.

Switch Azure from dynamic to static IP address [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
How do I change my Azure website from using a dynamic IP address to a static IP address?
I want a static IP address that never changes.
I evidently do not have a virtual machine, as illustrated below.
App Service is a PaaS (Platform as a Service) Offering. In PaaS, you don't have access to the server.
The Virtual Machine screenshot that you have shared in of Infrastructure as a Service (IaaS) type. So, App Services will not have IaaS - Virtual Machines and that's the reason why the VMs listing (in your question) is empty.
Now, coming to you question of a Static IP for your app. You can find it in the Custom Domains section of App Service as shown below.
And, this IP Address will change ONLY when you change (especially degrade from a higher tier to lower tier) the App Service Plan. If it doesn't change then you are lucky enough. But, Microsoft doesn't guarantee that it retains the IP Address if you change the App Service Plan's tier.
Another point to note is that you might see the same IP Address for another App Service too. that's completely fine and it works well even if you want to map your own domain to this App Service.
Update:
When the App Service makes calls to another external end point, then it uses altogether another set of IP Addresses called Outbound IP Addresses which could be found in the Properties blade as shown below.
So, you need to share ALL the IP Addresses that are under Additional Outbound IP Addresses to the external WebService team for whitelisting. This way, your problem will be resolved.
Let me know of it makes sense now.
Update2:
For App Service, We can't create & assign a separate Static IP explicitly. If you need a static IP for some reason, then you have to choose Virtual Machines and then assign a Static IP Address to that VM and use the VM to deploy the Website.

Static IP for Cloud Service on Azure [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a Cloud Service that has Worker Role. Cloud Service is set to scale at 5 instances. There is an operation that requires communication from Azure to our data center. For the communication to happen, we have to Whitelist the IP address.
My question is that since I have set the Cloud Service to have 5 instances, do I need 5 static IPs or 1?
Also how does this pan out if I set it to Auto Scale?
All five (or any number of) instances in a single Cloud Service sit behind a single IP address.
The assigned IP address for the cloud service doesn't change unless you deprovision and reprovision the service (xyz.cloudapp.net). So, if you resolved your cloudapp.net name to an IP address, you'd be able to whitelist that IP address (until such time that you take down the Cloud Service. Then the IP address is lost).
If you want to ensure that you always know the IP address, even if you deprovision / reprovision, you can set up a reserved IP address in Azure, and then assign it to the Cloud Service.
More info on reserved IP addresses here.

How to share a web app in amazon ec2 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I create a free tier ec2 instance in amazon, I reserve a Elastic IP and assign it to my instance.
I install nginx and I need to access nginx from internet, for that I went to my domain registrar godaddy I create a cname that point to this Elastic IP.
I access SSH service using this IP now.
Finally I create a security group, I open stream to HTTP port.
And it seems not working ?
Please can you help me to troubleshoot and find why I can not connect to the web server ?
Step #1:
Test via its EIP address, something likes http://ec2-xxx-xxx-xxx-xxx
If you can't, in its security group, open inbound rule to 0.0.0.0/0 to http port 80, then you should be fine to access it.
Later you can adjust that CIDR range.
Step #2:
Access from it domain name which you registered in godaddy, if not, you need review the setting in godaddy and make sure you point to the right IP address.
Step #3:
Build a ELB (aws elastic load balancer) in front of nginx web server, then redirect the traffic from ELB to nginx, this way will be more flexable.

How to attach domain name to my server? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have a small problem, looked here & other forums, but could not find solution.
I have site at my-domain.com, site is on shared host. In my domain register I added DNS servers which hosting provider gave to me when I opened hosting account for my-domain.com and all that works for 1 year. Since traffic to site increased, hosting company told me to move my site to vps or dedicated server on their hosts or some other hosts, so I found good offer on another provider and bught 1 vps with tech specs that I need with ubuntu 10.10.
On the other side, I makde on my computer ubunutu 10.10 installation and rewrited application for better performance (web server/mail server/database etc...) When I make backup on my home machine, and upload and extract on remote VPS everything is as it should be, but I ma testing using VPS IP address, site that users and search engines access is on old shared hosting still.
Now I want to add new remote vps IP to my domain register NAME servers, but I don't know:
-should I add my VPS ip?
-in that case what be my secondary name server?
-what I need to do on my remote VPS with complete site(app) to edit so it can be accessible to my-domain.com?is that hostname, or what?
I hope that You understand what is problem, and I am sure that this is something simple for people who are doing with those stuffs,so please help me.Thanks
Just to explain, you have multiple things here:
Domain name
DNS nameservers
Web server(s)
All of these can be hosted with separate providers, but depending on your provider you might have different management options.
Domain name
Your domain name has a registrar (who you bought it from). That registrar will keep a list of 1-3 'nameservers' which are the addresses for the provider that hosts your DNS.
DNS nameservers
Your DNS is like your address book. That needs to be hosted somewhere, and if your old host didn't let you edit it, it's probably just part of their shared hosting service, and not something you can manage. You will need to change your domain name to point to another set of nameservers at a provider you can manage. Your VPS provider probably has a DNS service, but possibly not free (although many are). If needed you can use a free DNS host like XName or ClouDNS, but depending on your level of knowledge you might find these difficult to use.
A basic web server record you will want to add is known as an A record, and will point my-domain.com. and/or www.my-domain.com. (using a separate record) to your web server's IP address.
Web server
Your server has an IP address. If you need to load-balance for performance reasons you'll need your hosting company to provide you a 'virtual IP' or a load-balancer service, behind which you can have multiple servers.
Summary
The way the request goes is:
User types my-domain.com into their browser
The user's ISP's DNS server is queried for my-domain.com
The web server IP address for my-domain.com is returned
The user's browser sends a HTTP GET request to your server to get the web page
One part of the process leads onto the next, so you need to make the 3 things work in harmony to get your site to function.

Resources