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.
Related
Closed. This question is not about programming or software development. 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 5 months ago.
Improve this question
I am trying to setup a private AKS cluster which I want to manage from a user laptop using kubectl. I have tried to create a simple setup with one vNET, Azure VPN gateway with OpenVPN configuration, where the VPN Gateway is attached to one subnet of the vNET and AKS is configured via Azure CNI to live in another subnet of the same vNET. I have expected that this is all I would need to get manage the cluster as long as I am connected to the VPN (I understood that all subnets on a vNET are routed by default). But when I try to use kubectl I get Unable to connect to the server: dial tcp: lookup : no such host My network knowledge does not go too deep unfortunately, but should this just work? I mean it all lives within the same vNET. Thank you.
My setup is very similar and I ran into the same situation. This was a DNS issue for me.
If you have a private DNS zone with your private AKS cluster (should be in the resource group which was created for the AKS private cluster), go find the DNS record and IP address for the API server. Put that IP address into your hosts file (/etc/hosts if on linux or WSL) with the fully qualified domain name, then try your kubectl commands again.
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.
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.
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
I have Ubuntu running on a Microsoft Azure's virtual machine. I have a docker container running on it, and it has a web server attached to it. (Running on 172.17.0.1:80)
Now I'm trying to make it accessible publicly, using the Azure's public IP
In the Networking settings, I have tried to create an inbound port rule
But it's not working...
I've tried tracert to see where my ping goes when I try to connect to the IP, with no result.
I've done basic port routing in the past, but I can't figure out why this one is not working...
I just want to type 13.94.212.10 on my personal connection, and access the website.
Thank you in advance
If you want to access the application on your Azure VM publicly with its public Ip address.
You could whitelist you client public IP in the NSG rule like, add the client public IP in the Source IP addresses.
Please note that
If you specify an address for an Azure resource, specify the private
IP address assigned to the resource. Network security groups are
processed after Azure translates a public IP address to a private IP
address for inbound traffic, and before Azure translates a private IP
address to a public IP address for outbound traffic.
Read https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview#security-rules
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.