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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南