Question

I am using the webapplicationbuilder class to create a new web application and have found many articles that help with this, none however seem to specify how you designate the URL or the application, i just get "sharepoint - 123" where 123 is the port specified and "servername/:123" as the url, whereas i need "http://myserver/.

Thanks

Was it helpful?

Solution

Assuming you mean the SPWebApplicationBuilder class.

Have you tried to set the HostHeader property of your SPWebApplicationBuilder object?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top