Is It Possible To Redirect A Domain To Amazon EC2 - Edureka
Maybe your like
- Home
- Community
- Categories
- Cloud Computing
- Is it possible to redirect a domain to Amazon EC2
I wish to use EC2 to host a website built in JSP. I have a domain say XYZ.com how can I re direct this domain name to my website on EC2?
Apr 13, 2018 in Cloud Computing by hemant • 5,790 points • 3,428 views answer comment - flag
Your comment on this question:
| Your name to display (optional): |
| Email me at this address if a comment is added after mine: |
| Privacy: Your email address will only be used for sending these notifications. |
| Add comment Cancel |
3 answers to this question.
Your answer
| Your name to display (optional): |
| Email me at this address if my answer is selected or commented on: |
| Privacy: Your email address will only be used for sending these notifications. |
| Add answer Cancel |
Your EC2 instance has an IP address as well as a DNS name. However, the default IP address is assigned dynamically and might change. You will keep the IP address as long as the instance is running and across reboots, but if you are forced to stop/start or anything like that you will lose it. If you have a domain name pointing to your instance, that is a bad thing. To solve this issue, you will want to obtain an Elastic IP and assign it to your instance. The Elastic IP address is static and belongs to your account. It can be used with any instance. Note that it will replace your current IP address and DNS name. Route 53 is an authoritative DNS service, meaning it responds to queries for your domain. Let's say you have a website at www.XYZ.com. When you go to that address, a query goes out to one of the DNS servers associated with example.com. The DNS server knows that www is pointing to IP address 1.2.3.4 and returns that response. In this case, that would be an A record. There might be other records as well, such as MX records pointing to the mail servers for your domain. You might use an EC2 instance as your web server, Google Apps for your e-mail and so on. The DNS server knows all these things and can point the client in the right direction, whether it is a web browser or a mail server wishing to deliver a message to you.
- flag
- ask related question
Your comment on this answer:
| Your name to display (optional): |
| Email me at this address if a comment is added after mine: |
| Privacy: Your email address will only be used for sending these notifications. |
| Add comment Cancel |
You can do two things basically to redirect a domain in EC2
- Create an elastic IP in the same region as your instance and associate that IP with your that instance (IPs cost nothing while they are associated with an instance, but do cost if not).
- Add a A record to the DNS record of your domain mapping the domain to the elastic IP address assigned in (1). Your domain provide should either give you some way to set the A record (the IP address), or it will give you a way to edit the nameservers of your domain.
- flag
- ask related question
Your comment on this answer:
| Your name to display (optional): |
| Email me at this address if a comment is added after mine: |
| Privacy: Your email address will only be used for sending these notifications. |
| Add comment Cancel |
- flag
- ask related question
Your comment on this answer:
| Your name to display (optional): |
| Email me at this address if a comment is added after mine: |
| Privacy: Your email address will only be used for sending these notifications. |
| Add comment Cancel |
Related Questions In Cloud Computing
+1 vote 1 answerIs it possible to get an ec2 pricing programmatically?
Yes absolutely. You may get AWS pricing programmatically ...READ MORE
answered Apr 10, 2018 in Cloud Computing by code_ninja • 6,300 points • 2,904 views +1 vote 3 answersAWS EC2: Is it possible to edit httpd.conf file in
It would be prompting you a alert, ...READ MORE
answered Aug 17, 2018 in Cloud Computing by Priyaj • 58,020 points • 3,719 views 0 votes 1 answerIs it possible to use VPC to have access between two AWS Regions
Good question this. Currently this feature is ...READ MORE
answered Apr 18, 2018 in Cloud Computing by code_ninja • 6,300 points • 1,700 views 0 votes 1 answerIs there a way to use amazon ECR image from one account in the code build of another account?
These forums might just help with AWS ...READ MORE
answered May 7, 2018 in Cloud Computing by brat_1 • 7,200 points • 2,514 views 0 votes 1 answerIs there a way to simulate perimeter security using Amazon Web Services Model?
As we all know traditional perimeter security ...READ MORE
answered Jul 9, 2018 in Cloud Computing by DragonLord999 • 8,450 points • 1,374 views 0 votes 1 answerAWS: Is there a way to simulate perimeter security using Amazon Web Services Model?
As we all know traditional perimeter security ...READ MORE
answered Jul 11, 2018 in Cloud Computing by DragonLord999 • 8,450 points • 2,089 views 0 votes 1 answerDoes it make sense to have an Amazon Elastic Load Balancer with just one EC2 instance?
ELB automatically distributes incoming application traffic across ...READ MORE
answered Jul 12, 2018 in Cloud Computing by ArchanaNagur • 2,360 points • 1,815 views 0 votes 1 answerIs there a way to simulate perimeter security using Amazon Web Services Model?
To start with,perimeter security is the using ...READ MORE
answered Jul 17, 2018 in Cloud Computing by code_ninja • 6,300 points • 1,414 views +3 votes 3 answersIs it possible to delete a API in AWS API Gateway?
Yes, it is possible to delete an ...READ MORE
answered Mar 27, 2018 in Cloud Computing by brat_1 • 7,200 points • 6,003 views 0 votes 1 answerIs there a way to transfer files between AWS s3 and ec2
The answer is a definite yes yes. ...READ MORE
answered Apr 17, 2018 in Cloud Computing by brat_1 • 7,200 points • 1,773 viewsRecent in Cloud Computing
- How do you implement canary releases using DevOps in the cloud? Jun 30
- What is the role of ChatOps in cloud environments? Jun 30
- How do you integrate cloud DevOps tools with ITSM tools? Jun 30
- What is the role of HashiCorp Vault in managing secrets in cloud environments? Jun 30
- How do you manage security in a cloud DevOps pipeline? Jun 30
- All categories
-
Generative AI (1,454) -
Power BI (1,316) -
DevOps & Agile (4,138) -
Data Science (100) -
ChatGPT (30) -
Cyber Security & Ethical Hacking (1,057) -
Data Analytics (1,266) -
Cloud Computing (4,053) -
Machine Learning (337) -
PMP (1,069) -
Python (3,489) -
SalesForce (201) -
Selenium (1,624) -
Software Testing (58) -
Tableau (608) -
Web Development (3,972) -
UI UX Design (24) -
Java (1,358) -
Azure (157) -
Database (858) -
Big Data Hadoop (1,907) -
Blockchain (1,673) -
Digital Marketing (121) -
C# (141) -
C++ (272) -
IoT (Internet of Things) (390) -
Kotlin (8) -
Linux Administration (389) -
MicroStrategy (7) -
Mobile Development (395) -
Others (2,387) -
RPA (653) -
Talend (73) -
TypeSript (124) -
Apache Kafka (84) -
Apache Spark (596) -
Career Counselling (1,091) -
Events & Trending Topics (28) -
Ask us Anything! (71)
Join the world's most active Tech Community!
Welcome back to the World's most active Tech Community!
Sign up with Gmail Sign up with FacebookOR
Password must haveAt least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
SIGN UP Already have an Edureka Account? Login Forgot Password? LOGIN Don’t have edureka account? Sign Up resend ? Password must haveAt least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
reset password Don’t have edureka account? Sign Up reset password Don’t have edureka account? Sign Up Send Code Don’t have edureka account? Sign UpSubscribe to our Newsletter, and get personalized recommendations.
Already have an account? Sign in.
Tag » How To Redirect Domain To Aws
-
How Can I Redirect One Domain To Another In Route 53?
-
How Do I Redirect A Domain In CloudFront? - AWS
-
AWS Route53 Redirect To Another Domain - YouTube
-
Redirect Domain Names To Amazon Web Service (AWS) Using Route ...
-
Redirect A Domain To Another Domain Using Amazon Route 53
-
How Redirect A Domain To Amazon EC2 Machine? - Stack Overflow
-
AWS - Route 53 - Redirect To Another Domain (HTTPS) - Medium
-
Redirecting A Domain With HTTPS Using AWS - Spritle Software
-
Serverless Domain Forwarding With AWS - Fernando Medina Corey
-
Best Way To Redirect Root Domain ("apex Domain") To Another Location
-
AWS: How To Redirect Many Domains To A Page On Another Domain?
-
Redirect A Domain To Another Domain Using AWS Route 53
Generative AI
Power BI
DevOps & Agile
Cyber Security & Ethical Hacking
Data Analytics
Cloud Computing
Machine Learning
Python
Selenium
Software Testing
Tableau
Web Development
Java
Database
Big Data Hadoop
Blockchain
IoT (Internet of Things)
Linux Administration
MicroStrategy
RPA
Talend
Apache Kafka
Apache Spark
Career Counselling
Events & Trending Topics