Nginx not updating webpages. Using Termux - html

I am trying to run a small website from my tablet with Termux and Ngnix. The nginx.conf file has been properly configured, and the webpages have been placed in the correct folder. The problem is that when I make changes to the html code, the nginx server doesn't seem to want to update with the new changes.
For example, I had a thumbnail image that would open in a new tab for viewing at full size when clicked. I later changed the html code so the same thumbnail image would open up a page on the site with related text info. I made sure to stop the server before applying any changes to my code, and then restarting the server after the appropriate changes were made. Unfortunately, the server keeps displaying the pages before the changes. It's like the original pages are stuck somewhere in the server's "memory" and don't want to update. Does anyone have any ideas as to what I'm doing wrong? This is getting really frustrating.
Thank you in advance to any who can help me.

Seems the issue was with the browser and not Nginx. I cleared the data from the browser, restarted, and haven't had any issues since. Strange, but it worked.

Related

Html elements not registering when updates uploaded to cPanel

I am using cPanel on BlueHost to make a website for a client. I have uploaded my files to the public.html folder and everything is live and looks good. But when I make changes and upload the files again.. some of the new html elements that I have added dont show up on mobile. They show up on desktop so I know its working and registering but idk why it wont show up on my phone. Any ideas? Im not sure if its a cPanel problem. I dont think its a Sass problem either. Do mobile devices take longer to recognize changes on a hosted site? Any help would be great. Thanks.
Thanks for joining the community. I'll be glad to help you or find a solution.
If you are just copying and pasting the files from your computer to the cpannel keep in mind that you need to change the path of some files in order for them to grab the style or any external sheet, I had a similar problem when uploading my website

CSS file not registering changes on apache24 localhost

I'm running a local server (apache24) to try and learn html. I've run into a few problems with this and never understood where I went wrong. But today I went into inspect element while I was on the page, directed myself to sources and clicked on the css file. Evidently something was wrong as it did not mirror my actual css file:
The file in inspect element:
This is making it really difficult to learn html using the server. I don't know where to start to fix the problems. I have tried restarting the server and it didn't work. I've had this problem for a while with the server, but I only discovered the part with Inspect Element today. Please help.

How to edit website using Cyberduck

I have uploaded my website by Cyberduck. However, now I want to make some changes. I did edit it in the host but when I access the website through my domain, id didn't change anything.
I don't know whether I did something wrong or the changes need take time.
Most likely it would be cached somewhere. Try opening your website in incognito mode (Chrome), I ain't sure what it's called on other browsers & see if you see the updated content on website.

images not showing up when webpage published

So I seem to be having a strange problem. When I open up my HTML pages locally, everything shows up and everything works. However, once I uploaded them to the server for my website only two of the images show up.
All of my images are in the same folder as all of my HTML pages and there are still a few images that work. Is this an issue with my image paths? Or is it something with my host since some of the images will load?
Here is the URL for my webpage: clepert.jomc-class.org
Must be a problem with images path since there a not on the server at the path that you wrote.
Maybe you didn't put them on the server or there has been a problem during the transfer. Check if they are on the server.
I got this for your background: Failed to load resource: the server responded with a status of 404 (Not Found). http://clepert.jomc-class.org/bckgrnd.jpg
So I would check for this file specifically on your server.
Otherwise your logo is a white image on a white background... so it won't show without a colored background.
The easiest way to solve such things is to check the browsers Developer-Tools and take a look at the console or network section (different from browser to browser).
You're getting an 404-Error so maybe the path is wrong, or the image is just not on your server.
Just because the browser gets a 404 back doesn't mean the file isn't there. It might be that the user / server doesn't have permission to access the file (not everyone uses the 401 status code).
Check the logs! They will save you LOTS of time.
Check the permissions of the directory and all other files you're
trying to access.
Make sure your paths are correct (local vs absolute, etc).
Post more details if that doesn't help.
Check the logs again.

Can't get rid of Mediawiki InstantCommon Images

I have a mediawiki at http://spider.dnsdojo.net running on LAMP. I enabled the use of InstantCommons while trying to setup the UploadWizard extension. Ever since I can't get at least one of my images to show up correctly. It keeps showing the InstantComons image even though I have disabled the use of InstantCommons.
-So far I've
cleared the cache and cookies on chrome
purged the site using index.php?title=3x3x3_LED_Cube&action=purge
delete all images and re-upload
It's driving me crazy, because when I click on the image it takes me to the file page which shows the correct jpg. What am I doing wrong?
I'm not sure if this is a MediaWiki bug or if I was just doing something wrong, but I finally got the proper image showing up. What finally did it, I think, was uploading the image and then uploading it again over top of itself. Maybe this will save someone else a few hours of frustration.