Mobile app version of vmapp.org
Login or Join
Shelton105

: How to host a webpage with AWS using IP address I have a free tier AWS server. It is a Ubuntu server and I a beginner. I don't have a registered domain name, I have HTML and CSS code

@Shelton105

Posted in: #AmazonEc2 #Apache #IpAddress #Server

I have a free tier AWS server. It is a Ubuntu server and I a beginner. I don't have a registered domain name, I have HTML and CSS code for the web pages.

I normally see that I can access websites using their registered IP addresses. How do I deploy my HTML code so it becomes a public website that can be accessed through the IP address that Amazon has provided?

Note I haven't yet installed Apache as I have not figured out what I should do with it. It would be great if someone can direct me to on how to make the HTML code public where anyone can view it using the IP address.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelton105

1 Comments

Sorted by latest first Latest Oldest Best

 

@Bryan171

Every AWS EC2 instance should have a "Public DNS (IPv4)" address available in the AWS EC2 Control Panel - something like:

ec2-1-2-3-4.compute-1.amazonaws.com

where the IP address is part of it (the sample is equivalent to IP 1.2.3.4).

You can use that to directly access the web site, and you can also use it as a CNAME record if you want to use it for a domain/subdomain registered elsewhere.

Setting up Apache, etc. is not too hard - Google: AWS Ubuntu Apache and you should be able to get the answers to that part.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme