Publishing to a server with FrontPage Extensions

B

Bill

I'm working with FrontPage 2003 on my desktop. My server
is running Server 2003, IIS 6.0 with FrontPage Extensions
loaded. The server exists on the web with a single IP
address

- I've been supporting a single website and publishing to
that site using FrontPage/SharePoint services
- I'm now trying to add a second web page under that same
IP address (different URL from the other site I support)
- Adding the site under IIS and extending SharePoint
Services to that site goes just fine.
- Once the Host Header Values are added to the site
properties under IIS, I can no longer publish to those
sites from FrontPage 2003. I get an error to the effect
of "Bad Request (Invalid Hostname)"

I'm completely puzzled. Any Help would be appreciated

Bill
 
T

Thomas A. Rowe

You need to publish to the original domain / IP and the separate sites need to be setup as
subwebs/sites.

The other option is just assign the domains to the IP address via the DNS server, and use ASP to
determine which subsite should be displayed based on the domain requested.

Place the following code on your main domain's default.asp document before the opening <HTML> tag.

<%
Dim HostURL
HostURL = LCase(Request.ServerVariables("HTTP_HOST"))

If InStr(HostURL, "domain1.com") then
Response.Redirect "subsite1/default.asp"
End If

If InStr(HostURL, "domain2.com") then
Response.Redirect "subsite2/default.asp"
End If
%>

The default is your main domain.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top