[FIX] IP-address binding

Article ID: 1341 
Last Review: Oct,6 2008
Author: Dmitry Frantsev
Last updated by: system APPLIES TO:
  • Parallels Plesk Sitebuilder
  • Sitebuilder 3.x for Windows

Symptoms

The server has two network interface cards (one public network, the other private one). At various points while using Sitebuilder from a client computer, the web browser quits trying to connect to the public IP address and starts trying to connect to the private IP address.

Resolution

By default, it uses automatic address binding for site previews based on IIS settings.
It works in following way:

- It takes first IIS binding in the list.
- If a host header is specified then it uses the host header.
- If the header is not set then it takes an IP address.
- If IP address is not set it takes the first IP from the network adapter IP list.
- If the port is set then it uses as addon to address that was get on the previous steps.
 
So the problem can be resolved by configuring exact IP address or host header in the _first_ binding.

If some custom configuration is used and the solution above is unacceptable, the base address for the site previews can be configured manually:


1. Open %SB_DIR%\Hosting Srevice\bin\HostingService.exe.config

2.  Edit file and configure required address:

<configuration>...<appSettings>
<add key="PreconfiguredUrl"value="http://yourserver.com:2006/Sites" />
</appSettings>..</configuration>


After applying changes it is necessary to restart Sitebuilder's services:

net stop SBPreviewHost
net stop SBUpdater
net start SBPreviewHost
net start SBUpdater{cle{

Then please restart  Sitebuilder site's application pool as well.



Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields