Caching issues - how to identifiy the offending server - cache-control

Hi
I replacing an existing website. One of the url to a page happens to match one of the url on the old site. I can see old content when I try accessing this url. Is it possible for to debug where this copy of the old site is coming from? I've already identified it's a server between me and our host because I get the same content on web based proxies and my android.
Also how would i get the cache updated?
Our host is Webfusion and our domain is with 123reg

Related

Domain name forwarding works only partially

For many years I had a successful website at https://www.lunarium.co.uk built on top of Google App Engine, Java version. Some time ago, GAE deprecated the technology they initially recommended for storage, so I decided to re-create the site on a new, less cumbersome platform. Eventually, I re-created it with Django, hosted on Pythonanywhere.com at the domain name https://www.lunarium.co.
When the new version was ready, I've forwarded the domain name lunarium.co.uk (hosted with GoDaddy) to lunarium.co (301, no masking). I also changed the CNAME www on lunarium.co.uk to point to the naked domain name, lunarium.co.uk. This was done in the beginning of April, but the stats keep showing that many people are still going to the old version of the website. On some days, many more people visit the old website than the new one. This is one part of the problem — why is that happening? (Right now I've also added forwarding from www.lunarium.co.uk to www.lunarium.co but was unable to delete the www CNAME).
Also, I had some pages on the old website that were very popular. For example, this one: https://www.lunarium.co.uk/moonsign/calculator.jsp. I made sure that if someone will come looking for this page on the new website (like https://www.lunarium.co/moonsign/calculator.jsp) they would be redirected to the appropriate new page. However, when trying to navigate to that popular old page, I'm getting a strange error message: Not Found 404.0, and I'm not sure where this message is coming from.
Previously, when navigating to the home page of the old website, I used to be correctly redirected to the home page of the new website. (I just tried to do that, and it didn't work, but maybe that is a temporary glitch). However, specific pages within the website are never properly redirected. Is there a way to make sure that they are redirected?

IIS: add binding to Default Web Site

I just started looking at IIS on Windows10.
I have a stupid question. I added a binding to Default Web Site ("www.test.com") in IIS Manager.
I was expecting to see the default page when browsing to this url, but it took me instead to an actual existing page.
Can anyone explain me why?
If you've added www.test.com to your bindings, clients (like your web browser on the same system) still don't know that IIS hosts the site.
see this: Setting up a Host File - Faking URLs
This is useful when dealing with multiple sites:
Site 1:
test.com
www.test.com
www2.test.com
Site 2:
another.url.com
with just listening to a single IP, you cannot control which request ends up at which site, this is what the binding solves

Server Header Information Showing up in IIS

I am facing an issue where server header information is showing up in IIS. I know by using URL rewrite module and creating outbound rule will resolve the issue. Problem here is when i am checking individual severs i am seeing server header information as Server:-Microsoft-IIS/7.5. and when i am checking LB URL i am seeing server:- IA Web server. not sure from where this text is coming up.I checked the web.config file but the entry for witting own server information is not present in an tag. Also one more information i have akamai implemented after the web servers. Could some one help in this context.
This is added by IIS Server. Adding outbound URL-Rewrite rule is the best way to go as adding a custom HTTPModule to remove headers or through global.asax.cs as explained in this answer won't work for static files.
See detailed blog here - https://blogs.msdn.microsoft.com/varunm/2013/04/23/remove-unwanted-http-response-headers/

How to Stop Old invalid links/bookmarks hitting the new website?

I have a heavy traffic website, where i recently upgraded the whole website to new system, where most old urls are now not valid and causing problems in the new system. Most of the old urls are saved in the users browsing history.
How do i make sure these old links/bookmarks are redirected to the main page of the new website
please note i am using nginx and its not possible to redirect by one by one as website is large and not possible to do them manually.
Any ideas ?
I think the simplest solution would be to add the following in your Nginx server block...
error_page 404 /;

IIS show upgrade website for all requests

I have a temp website set up in IIS Manager (6) linked to an IP / URL, for example:
1.2.3.4 / www.someUrl.com
When that url is accessed, the temp website shows fine.
But if someone tries to access any other file within that domain, for example:
www.someUrl.com/index.cfm?action=profile
then the upgrade website does not display.
How do I get it to show for all requests made to the domain www.someUrl.com??
Thanks
I could not understand well you request.
But, using Application.cfc you can implements the method onRequestStart, and you can dump all information you need to your e-mail for exemple, just to see what is the problem to your script.

Resources