Hello,
I have a freshly-created SharePoint 2013 environment (a farm of four Windows 2012 servers, using SQL Server 2012). This farm has a web application on port 80 with a site at the root: http://hostname/. There is also a DNS alias and alternate access mapping for this webapplication, so it can be accessed as http://c3
The web application seems to work OK with either the hostname or the AAM name. But if try to use Site settings (on any of several sites) via the AAM name, I can access the site settings menu (http://c3/sites/sitename/_layouts/15/settings.aspx) but when I click on any of the links in this menu (e.g. http://c3/sites/sitename/_layouts/15/people.aspx ) it fails with the message below. Using the hostname (http://hostname/sites/sitename/_layouts/15/people.aspx) works just fine.
Sorry, something went wrong
'The directory name is invalid. '