I have a web application with a root site collection:
I have further host named site collections like this:
https://sp.site.com/bu/dept1
https://sp.site.com/bu/dept2
https://sp.site.com/bu/dept3
Note: "bu" is just a host header managed path.
Then I have sites under these site collections like so:
https://sp.site.com/bu/dept1/site1
https://sp.site.com/bu/dept1/site2
https://sp.site.com/bu/dept2/site1
https://sp.site.com/bu/dept3/site1
Is it possible to add/change a site's URL from https://sp.site.com/bu/dept1/site1 to https://site1.site.com?
If not, is it possible to add/change a site collection's URL from https://sp.site.com/bu/dept1 to https://dept1.site.com?
I have tried to use Set-SPSiteUrl
to add a URL for a site collection but I get an error message saying this can only be applied to the root site collection at https://sp.site.com.
Any other methods within or outside of SharePoint?
Set-SPSiteUrl
you can only change the URL to the root site collection, i.e at sp.site.com