URL being converted to IP address in Links List when domain suffix is the same?
My sharepoint instance has multiple alternate access mapping setup. The internal one, allows for a short name to be used because of the DNS suffix lookup settings. But for our external users we have to use a fully qualified name. That suffix for that name is the same as some of our other websites. If you access the site using the short name everything works as expected, but if you use the fully qualified name links with the matching suffix are being converted to IP addresses, apparently during the rendering process. This is causing a big problem, because the site is SSL encrypted so users are getting a security warning that the site certificate is invalid because their is no host header to match with. Any help on this issue would be great, I'm at a loss on this one!
April 28th, 2010 8:38pm

You have 2 choice. 1- Define 1 distinct host header for each of your WebApp extension and make sure that for the extranet one the host header name matches the name on the certificate. One distinct host header for each zone is the best way. 2- Throw yourself in code and when a certificate validation error occur return true when the name on the certificate=MachineName but Request contains Machine IP. However I do not recommand this solution. Use this code as base only public class TrustAllCertificatePolicy : System.Net.ICertificatePolicy { public TrustAllCertificatePolicy() {} public bool CheckValidationResult(ServicePoint sp, X509Certificate cert,WebRequest req, int problem) { return true; } }
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2010 9:35pm

I expect you are handling the FQDN mapping using just an Alternate Access Mapping. Since host headers and SSL certificates are specific you really need to either bind both the short and FQDN host headers to the IIS web site, or extend the Web application to a new zone with the FQDN as the host header. Paul Stork SharePoint Server MVP
April 28th, 2010 9:56pm

Just to be clear the certificate error I'm getting is not in SharePoint, but rather when it gets to the external site. Maybe to explain it more clearly I'll provide an example. I enter a link like "https://somesite.my.url.com/" if I view that link in SharePoint where the current SharePoint URL is "https://sharepoint.my.url.com/" the URL I entered shows up instead as "https://123.123.123.123/" and again this is the outgoing link from SharePoint. Not the link to SharePoint. I hope that makes more sense. Thanks for your help!
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2010 10:30pm

Can you please provide us your AAM. You probably have something like http://servername --- http://servername for your intranet
April 30th, 2010 8:35pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics