Change RD Web Access Server URL

I am setting up a remote desktop server in Server 2012 R2.  

Everything is setup ok but my certificate for the server is  a wildcard certificate that covers my outside domain.  *.domain.com

When I connect to the remote apps on the server the remote computer they are hosted on says:  server.domain.local so the cert. doesn't cover this.  

How can edit my RD Web Access Server URL to be server.domain.com.  I have this setup on my internal DNS so if I go to this address from a browser it resolves to the server locally and it works with the certificate.  So I want my configuration on the server to use that url instead of the local url.  

Thanks,
Mathew
mschiradAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

duttcomCommented:
This cmdlet may be of some assistance -

http://gallery.technet.microsoft.com/Change-published-FQDN-for-2a029b80

A common scenario where the ability to change the published name is useful is when your internal domain is .local, .private, .internal, etc.  For instance, you purchase and install a wildcard certificate (*.yourdomain.com) for use with RDS, but when your users connect they receive a name mismatch error because they are attempting to connect to rdcb.yourdomain.local.  This cmdlet allows you to change the FQDN they will use to a name that will match your certificate (rdcb.yourdomain.com).
mschiradAuthor Commented:
The cmdlet looks like what I need to do but I am getting this error when running it:

Set-RDPublishedName : The term 'Set-RDPublsihedName' is not recognized as the name of a cmdlet...

I'm not sure why it won't recognize it.
mschiradAuthor Commented:
This is the cmdlet that works:

Set-RDSessionCollectionConfiguration –CollectionName RemoteApps -CustomRdpProperty "use redirection server name:i:1 `n alternate full address:s:server.domain.com"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mschiradAuthor Commented:
After much searching and testing this is the cmd that worked for me
Dennis JansonIT ManagerCommented:
How do I find my server's collection name? the CMD is failing when entering 'RemoteApps'.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.