Asp.net website developed using kentico cms causing "www" prefix issue - kentico

We are facing a weird issue specific only on one website even though we are hosting more than 150 websites on same server using Kentico CMS 11.
We have turned on "www" prefix settings from Kentico -> Urls & SEO for all the websites and all these sites are working without any issue.
But there is a specific website on which all the requests are getting redirected to home page if try to access with "www" prefix.
I have tried checking at code level and could not find any issue. If it would be code issue then it should appear for other websites as well.
We are using Azure app service for hosting our application so I have checked in application insight as well and could not get any lead as all the request which are logged for this specific websites are of home page.
Please help me in understanding if I need to see through this issue at some other place. I have checked with Client's IS team and they could not find any DNS settings difference when compared to other websites which are working fine.

Please check the web.config file of this site. It may contain a wrong URL redirect associated with "www" so that probably this redirect just cuts all the path from URL.

Related

Website hosting service problem with loading

I have a website that I have hosted for a while now... It seemed to work fine, but now it just shows a blank page when I visit it.
Could this be a hosting error? If not what else?
Your question really needs more details for anyone to be able to give you any help.
I this page just a static HTML file, or is it a database-driven site (WordPress or Drupal for example).
Have you checked the error logs for your hosting provider and have you tried contacting your hosting provider to see what they say.

Traffic on my homepage is redirected to another site

I think my website has been hacked.
Some users reported redirects from my home page to another website.
The problem only concerns the home page and not the other pages.
Also, when I type www.domain.com/index.php there is no problem. But when I type "www.domain.com" I find myself on another website.
My site has been hard-coded with an obsolete PHP version (5.3) and hosted by OVH on a shared server.
Can anyone help me identify the problem?

Multilingual Umbraco Website cannot be scraped?

I have created a multilingual Umbraco website which has 3 domain names pointing to it for each language. The site has gone live and people are starting to share links to it on LinkedIn and other social media. I have metadata in the website which should be picked up when these links are shared. On LinkedIn when the link is shared it has 'coming soon' as the strap-line, which is what was in the holding page months ago suggesting the site isn't being re-scraped.
I used the Facebook link debugging tool and that was returning a run-time error with a 500 response code.
My co-worker insists that there is nothing wrong with the DNS and there aren't any errors in the code of the website so I am wondering if anyone has any ideas why the website cannot be scraped?
It also has another issue where one of the domains sometimes doesn't redirect to it's www. version despite have a redirect on the DNS which may be related.
Is there some specific Umbraco configuration that I may have missed? Or a bug within Umbraco that may cause this?
Aside from this issue the website is working fine, it is just these scrapers seem to be unable to hit the website successfully.
Do you have meta data set for encoding? see https://www.w3.org/International/questions/qa-html-language-declarations probably long shot.

How do I manage a website left behind by an old employee? (Beginner questions)

So I'm a web designer with experience in HTML, CSS and Java. I've used FTP to manage my site a couple of times for my company.
Overall I have experience in using Joomla and WordPress CMSs, but that's just the problem: I have barely any experience in even understanding DNSs, server stuff, domain management. I could really use some help on this.
Firstly, our IT Manager left so now I'm in charge as the sole web designer of the company. The website URL is www.????.org.uk and that's where the live website is.
Issue here is that sometimes I type in the same URL WITHOUT the www, which results in ANOTHER website (actually a beta I worked on a while ago that I'm sure the IT Manager set up for me).
We have a 123reg account and a HeartInternet Reseller hosting account. I understand that you buy domains, and you can forward them to a hosting platform to manage them and 'serve' them on servers to make them live. So in this case I'm betting it's owned and bought using 123Reg, and hosted on HeartInternet.
Here's the second issue I don't understand. We have a bunch of domains bought, most redirecting to www.????.org.uk, but we ALSO have the URL WITHOUT the www.
Remember what I said earlier? All things point to www version, but we own a domain WITHOUT the www and I can't find the domain listed anywhere with the www, so how in the world can I manage the www site (which is the live site)?
Please do teach me a little if you can about this and point me to the right direction. Thank you!
From what I saw several times before:
By default the www is use-less and points to the default ip:port registered at ????.org.uk. For a reason (that I don't understand) some people create a new DNS entry with a sub-domain called "www" pinging to a different ip and/or port. This results in www.????.org.uk acting like someSubDomain.????.org.uk.
Have you checked if this could be your case?
If it is, I suggest you change the "www" subdomain to "dev" or "beta". This will make www.????.org.uk and ????.org.uk redirect to the same "website" and beta.????.org.uk to the beta version of your company's site.
Be aware that a DNS change could require up to 24h to be spread and updated on the ISP's servers.

How do you make a CMS and existing asp.net applications live together peacefully in IIS?

Note: I originally posted this on ServerFault, but I haven't gotten any responses at all. Since it looks like I'm on track to get the Tumbleweed badge over there, I figured I would try here also.
Our existing public website consists of a mish-mash of asp.net pages with mostly static content and some real web applications that are set up as virtual directories. We're now looking at installing Umbraco, which requires that you install it at the root of the website.
Since the CMS would be at the root of the website, I'm assuming it's a bad idea to run our existing pages and web applications underneath Umbraco (due to the URL rewriting it performs and inheriting web.config settings, etc.) So how do we make everything co-exist peacefully both while we transition to the CMS and after we're finished?
My only idea so far was to set up the CMS and the applications as separate websites and then use some sort of URL rewriting/reverse proxy to make everything resolve correctly:
* www.example.com would keep resolving to our old homepage
* www.example.com/dept1 would keep resolving to the old dept1 page
* www.example.com/dept2 would resolve to the new dept2 page on the CMS
* www.example.com/app would resolve to an existing web application
We ending up setting up Umbraco as it's own website in IIS and then we bought ISAPI Rewrite so that we could seamlessly pass through CMS content for certain URLs.

Resources