2

I Installed Sharepoint 2016 on premise in a Windows Server 2016, however the installation used the machine's name to generate the url, so currently when I open my Central Administration of Sharepoint I have a very unfriendly url like:

http://win-8si9e41b3h3

And everything is using this domain, so if I access to my sites I have http://win-8si9e41b3h3/sites/projects.

How can I change it to something like:

http://mydomain.com/everything-else

Thanks and Regards!!

2
  • did you created the site collection in Central admin web application?
    – Waqas Sarwar MVP
    Apr 22, 2020 at 14:01
  • Yes, I have my site collection called /sites Apr 22, 2020 at 14:09

2 Answers 2

1

Generally, the central admin URL would be with below format after installing the SharePoint:

http://machinename:portnumber

Here the port number will be the one that you have given during the installation.

The MSDN article says CA port number can be changed using the below PowerShell command:

Set-SPCentralAdministration -Port 8282(example - you can give your own number)

MSDN Source:

Set-SPCentralAdministration

You can try the above step.

And also we can change the central administration URL by other ways:

How to change the URL for SharePoint Central Administration site

To change the URL for SharePoint Central Administration URL:

  • Open Registry editor
  • Backup the registry before making any changes!!!
  • Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS and change the value of CentralAdministrationURL to whatever you want to be

References:

How to change the URL for SharePoint Central Administration site

How to change the URL for SharePoint Central Administration site

0

it is recommended that you need to create a separate web application (other than CA) for regular use. CA web application is back-end work and it is only provision on 1 server and if you have multi-server environment then it will not provision on other servers ( Web front ends).

what i recommend:

  1. Create DNS Alias which point to the server or Load balancer
  2. Create a Web Application in the Central admin and use the DNS in it
  3. Create a root level site collection
  4. Update the AAM via central admin

Lastly, in your case, you have to backup the existing Site collection and Restore it to new web application.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.