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
질문됨 한 달 전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
전문가
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
  • 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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠