Exploring, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

DNS Changing Back to Hostname

Reply
Occasional Contributor
Posts: 16

DNS Changing Back to Hostname

Hello everyone

 

We configured a DNS (something.something.loc) which then resolves to the serverhostname.

If we access SAS with the DNS (e.g. http://something.something.loc/SASVisualAnalyticsHub), the URL changes back to the serverhostname (http://serverhostname/SASVisualAnalyticsHub).

 

I ran the Update Hostname Utility replacing the serverhostname with our DNS something.something.loc, which, obviously, caused a lot of problems afterwards, because something.something.loc is not the server's hostname. But the URL didn't change back to serverhostname now.

I ran the Update Hostname Utility again to change something.something.loc back to the serverhostname so everything works again.

 

So, where exactly do I have to replace the serverhostname with our DNS (something.something.loc) in order to keep the URL at something.something.loc instead of the serverhostname?

 

(In both cases, accessing SAS worked without any problems)

 

 

Kind regards

Martin

Trusted Advisor
Posts: 1,839

Re: DNS Changing Back to Hostname

[ Edited ]

Hello @infmja,

 

you have several options to achieve this change.

 

  1. From the SAS point of view, the Update Hostnames should work for most of your SAS deployment, if you change the fqdn and the short name (both) to new ones. Once finished, I generally pass a grep utility over configuration (xml, cfg, config, etc..) files to ensure all of them are changed (newer SAS maintenances include additional locations and requirement for grep change is minimized). Also, if you have SSO, or SSL, put special attention: you will need to apply the additional changes (SSO, register SPN, SSL, new certificate).
  2. Also from SAS and ICT point of view: Also an option, you can create a Reverse Proxy configuration. You can keep the same host, and create an additional HTTP server and point this DNS alias to that one. http://documentation.sas.com/?docsetId=bimtag&docsetTarget=p0sxhuco18v167n13dsmnrfqv7yy.htm&docsetVe...
  3. From an ICT point of view (but not always allowed): Several DNS servers allow to create a rewrite and forward rule, on the way that every URL request will change always your hostname to the dns alias towards the client. Quite a neat feature.

Once you do this change, and depending ont he change you do, you might need to update some additional configurations, specially scripts, re-schedule data queries, etc.

 

Hope it helps. Please let us know how it goes.

Kind regards,

Juan

Occasional Contributor
Posts: 16

Re: DNS Changing Back to Hostname

Posted in reply to JuanS_OCS

So, I tried changing the FQDN only this time.
Everything was still working fine, but the DNS changed always back to the hostname when accessing SAS with the DNS (e.g. http://something.something.loc/SASVisualAnalyticsHub).

 

If I type the DNS only, without "SASVisualAnalyticsHub" behind the last slash, it opens up the "Congratulations! You have successfully set up SAS Web Server" page and keeps the DNS in the URL (which would be the correct behaviour).

 

Do you have any ideas how I can change the configuration so it always keeps the DNS?

Trusted Advisor
Posts: 1,839

Re: DNS Changing Back to Hostname

[ Edited ]

Hello @infmja,

 

this is happening because the SAS Metadata and some config files (xml files) are responsible of managing the re-directions.

The link I posted above should solve your problem, but focusing even more:

 

http://documentation.sas.com/?docsetId=bimtag&docsetTarget=n1s9ty2ykoxyr5n1ikt28hcjwuuz.htm&docsetVe...

http://documentation.sas.com/?docsetId=bimtag&docsetTarget=n1uh9f02c7lsnzn1cu57z20h95m8.htm&docsetVe...

 

If you still have trouble, I strongly recommend to get assistance from an experience SAS installation consultant to get the problem solved for you.

 

 

Occasional Contributor
Posts: 16

Re: DNS Changing Back to Hostname

Posted in reply to JuanS_OCS

I applied the configuration from your links.

Now I can access /SASVisualAnalyticsHub and the DNS stays, but as soon as I want to access something like the Report Viewer, there is the following error message: HTTP401 Ticket does not match the supplied service

 

What is causing the error message? How can I fix it?

Ask a Question
Discussion stats
  • 4 replies
  • 320 views
  • 1 like
  • 2 in conversation