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
preguntada hace un mes153 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace un mes
profile picture
EXPERTO
revisado hace un mes
  • 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.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas