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
已提问 1 个月前152 查看次数
1 回答
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
专家
已回答 1 个月前
profile picture
专家
已审核 1 个月前
  • 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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则