susanBuck / e15-spring22

0 stars 0 forks source link

The Index.php page would not render but the index.html #10

Closed YvaGithub closed 2 years ago

YvaGithub commented 2 years ago

Hello Everyone, I followed the lecture step by step. Anytime I try the server, it always renders the index.html page instead of index.php page like in the lecture. I am attaching the configuration of my server to this message. Every other step run successfully. Can I please get some help? Anticipated thanks, Yvaral server html_page

susanBuck commented 2 years ago

Hi @YvaGithub -

Can you confirm you restarted your server after adding the e15practice subdomain configuration?

You can do that with this command:

> systemctl restart nginx

If you've already done this and it's still not working let me know and we can explore other possible causes.

YvaGithub commented 2 years ago

Hi, Yes I did restart the server and I did it again with no success. I even clear the history on my browser but it is still not working. I kind walked back all the steps. Thanks, Yvaral server2

gkorodi commented 2 years ago

Screen Shot 2022-02-08 at 11.58.46 AM

Your URL http://e15practice.yvaralljame.me/ shows correctly for me. In case that is what you want to show?!

archerdave commented 2 years ago

I'm seeing the same page as @gkorodi. This makes me wonder @YvaGithub if your browser has cached the original page that you loaded, and not yet noticed that the page has changed. I would suggest any of the following:

YvaGithub commented 2 years ago

Thank you. My bad! I never added the subdomain (e15practice.) to the URL. It is working now. Again thank you

xul889 commented 2 years ago

I have the same problem and it is solved now. Thank you!