views:

112

answers:

1

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

+1  A: 

Hi.

Assuming you mean the SPWebApplicationBuilder class.

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

Magnus Johansson
that wont run if i set it to a new URL, it asks instead for a URI, not quite what im after I dont think, but thanks
Nathan