Website is Only Displaying "It Works!"

0

I created an ec2 instance, moved my files to /var/www/html/ and checked with ls -all if I have my files there and only thing I get when I write public ip, "It works!" page. Any help is appreciated.

pippen
asked 18 days ago142 views
1 Answer
3

Look like your EC2 instance is running a default Apache web server configuration, which serves the "It works!" page from the default document root.

profile picture
EXPERT
answered 18 days ago
profile picture
EXPERT
reviewed 18 days ago
  • Thanks to this guide I was able to change default page but it doesnt see css, javascript or other files

  • what do you mean when you say "it doesn't see css, javascript or other files"? Your index.html doesn't load css, javascript and other media files?

  • I figured, I have to use a webserver in order my code to work. I hanled all of it somehow. Thanks for your help.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions