All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
60 views

How Do I Use The <VirtualHost> Directive To Host Multiple Sites Using An EC2 Instance, ELB, And CloudFront?

I've been really struggling with this for the past few days, and I'm at a lost. Here's what's going on. I have an EC2 instance (Amazon Linux 2023) behind an ELB and a CloudFront distribution that I ...
wholelottabob's user avatar
1 vote
1 answer
1k views

AWS ELB Route 53 to my bluehost domain?

Currently I'm trying to put SSL on my EC2 Instance using Load balancer & Route 53 for my BlueHost Domain As of now I have working Load balancer https://adthrone-loadbalancer-1188159040.us-west-2....
Pablo's user avatar
  • 255
1 vote
2 answers
238 views

AWS Route 53: No targets available with load balancer

I have set up a load balancer in AWS. I need it to run on app.mydomain.com. When I go to Route 53, enter an A record, and click Alias/Yes, the dropdown says "No Targets Available" under "ELB ...
Shef's user avatar
  • 243
1 vote
2 answers
843 views

HTTPS works only with Load Balancer DNS - AWS

I have a problem with HTTPS configuration on AWS hope you can help. What I already have: EC2 - with Elastic IP, open ports screen shot with security group. Load Balancer attached to EC2 (with same ...
JEX's user avatar
  • 23
1 vote
0 answers
41 views

AWS S3 + Route53: Always redirect to www prefixed domain [duplicate]

I have a domain: example.com. I've created an A record for www.example.com with an alias targeting the load balancer’s DNS; this works just fine for www.example.com. Now, I want to redirect all ...
danielrvt's user avatar
  • 239
1 vote
1 answer
114 views

Setting up DNS routing to a network ELB

I have been trying to set up a network ELB on AWS so that traffic arriving on the configured elastic I.P gets forwarded to a healthy instance on the TCP port it is directed at. So incoming traffic for ...
Niall Gallagher's user avatar
0 votes
2 answers
205 views

EC2 multiple instances fixed IP

I am new to AWS and I have a question. I want to host a website on two EC2 instances. From what I read, if I stop the EC2 instance the public IP will change. In my case, Route 53 should route traffic ...
Ahmed's user avatar
  • 103
0 votes
1 answer
133 views

AWS Rouet 53 Private Hosted Zone route traffic to Ec2 hosted on Private Subnet?

I have below question: I want to host Web Server but want to make sure external (user accessing the web server over internet) DNS resolution should go via organization Data Center. Data Center is ...
Dave's user avatar
  • 181
4 votes
1 answer
4k views

How to use external DNS in conjunction with an AWS Elastic Load Balancer?

I'm setting up an Application Elastic Load Balancer, and I have it pointing to a few EC2 instances. I'm now trying to get my head around how to set up the DNS, given that my DNS is hosted externally ...
JonoB's user avatar
  • 273
0 votes
0 answers
109 views

DNS error when switching to new VPC and subnet

We have one hosted zone in Route 53 to handle the majority of our public domain names. Most of these point to an ELB, all of which are on the same VPC. Recently we decided to do some reorganization ...
Ryan Grush's user avatar
0 votes
1 answer
253 views

AWS Elastic Load Balancer DNS issues

We wanted to see if using Route 53 would allow us to route traffic to our machines instead of the AWS ELB, just for experimentation, and we noticed the following. We have some Nginx machines running ...
Ayush Sharma's user avatar
1 vote
1 answer
4k views

Pointing domain to AWS Classic ELB DNS Name without using Amazon route 53

I have a domain example.com. I want to point this domain to my AWS internet-facing classic ELB public DNS (my-elb-123456789.us-west-2.elb.amazonaws.com) without using Amazon Route 53. How should i ...
skg's user avatar
  • 81
1 vote
1 answer
159 views

Amazon EC2 - distribute traffic based on regions and failover

I have 1 instance each in 2 regions (US West and EU London) in Amazon EC2. I would like to achieve following: Distribute traffic based on regions: For example: if the request originates from US ...
user427969's user avatar
0 votes
3 answers
99 views

How to add AWS name servers in example.com domain to which are authoritative for ELB url? [closed]

I have only two private ec2 instances running my website and they are attached to ELB with no auto scaling. I have registered a domain example.com on third party domain registrar. My web site is ...
Shivanand's user avatar
0 votes
1 answer
767 views

Managing dependencies with CloudFormation and CFN-SIGNAL

This might get a bit convoluted but I'll try to simplify. I have a CloudFormation template setting up 3 identical EC2 machines, and using cfn-init in the UserData script it pulls some automation code ...
motig88's user avatar
  • 157
0 votes
0 answers
159 views

AWS security group change

I modified the security group for two VMs on AWS (from one security group to another - not just editing the security rules of an existing group). The VM's are behind Amazon ELB (and using Route 53). ...
ali haider's user avatar
  • 1,150
0 votes
1 answer
733 views

Using CloudFormation, I cannot get an AAAA record to work with ELB

I have the following two CloudFormation resources: "TestELB" { ... }, "TestRecordSetGroup": { "Type": "AWS::Route53::RecordSetGroup", "Properties": { "HostedZoneName": "example.com.", "...
smitelli's user avatar
  • 1,214
0 votes
1 answer
742 views

Amazon Web Services, mod_remoteip behind VPC hosted ELB occasionally sending IPv6 addresses

On Amazon Web Services, I have an EC2 instance running Apache and mod_remoteip. The instance is behind a Virtual Private Cloud (VPC) hosted Elastic Load Balancer (ELB). In the mod_remoteip config ...
Emile Bourquin's user avatar
1 vote
1 answer
1k views

AWS - ELB - NTP - Unable to forward UDP Traffic?

I am trying to setup two micro-instances behind an internal ELB which will handle mundane tasks such as central logging and NTP queries, but come to realize that ELB doesn't support UDP forwarding. ...
Mike Purcell's user avatar
  • 1,708
2 votes
1 answer
3k views

How to set up AWS Cloudfront for dynamic number of domains for a dynamic site?

THE SETUP We have a webs/wix/etc-like website management system we are trying to use with CloudFront. It has the following domains and subdomains. - ourdomain: our main website - admin.ourdomain: ...
ka-steve's user avatar
0 votes
1 answer
3k views

Change amazon's ELB domain name to my own domain without it changing upon resolving it

I'm trying to set my own domain name as an alias for the generated DNS by Amazon's ELB. The generated DNS is not good for me, since I've purchased a certificate for my domain (www.domain.com). ...
Jorge Cespedes's user avatar
2 votes
1 answer
989 views

CloudFormation with an ELB and its public dns

I'm using Cloudformation to build a load balanced stack. My concern is that each time the stack is recreated, the ELB public url will change, which will require a change in the website's route 53 ...
user307927's user avatar
1 vote
2 answers
816 views

Nginx : AWS Route 53 : ELB : naked redirect

Setup I have two rails app instances running in Opsworks Layer. I am using Route 53 and an ELB to route traffic to my Layer. Objective To redirect naked domain traffic to my www domain. chicken.com ...
mconlin's user avatar
  • 123
5 votes
2 answers
3k views

Why can't I create an Alias Resource Record Set for an EC2 instance [closed]

I have been working with AWS for over a year, setting up EC2 instances, domains, ELBs, etc. When I want to assign a subdomain to an EC2 instance, I have to create an elastic IP (that I pay for), ...
grokpot's user avatar
  • 161
0 votes
0 answers
75 views

No longer can get nginx.conf to respect my redirect rules

I want to redirect all sites and subdomains to one https domain name. I'll use https://my-site.com as an example. Previously I had all the redirection working with the following code: server { ...
tim peterson's user avatar
6 votes
1 answer
3k views

AWS EC2 Instance Auto Scaling Confusion

So first off I'm completely new to AWS so bear with me. I have had one instance running for a few months now and I now need to autoscale it as I am getting bigger traffic spikes and it gets ...
Dan's user avatar
  • 237
1 vote
1 answer
2k views

Using htaccess with Elastic Load Balancer and Route 53 [closed]

I have transfered my DNS to Route 53 and currently use an alias record to point my www.domain.com and domain.com to my Elastic Load Balancer. Both work great but my problem is when I try to use an ...
user1011713's user avatar