DevHub Docs
  • Welcome
  • Analytics
    • What events are tracked automatically?
    • Custom events
    • Google Analytics
  • API documentation
  • Domains
    • Registering a new domain
    • Renewing a domain
    • Pointing an existing domain
    • Pointing a subdomain of an existing domain
    • Transfer a domain
      • Transfer a domain to another registrar
    • Validating your domain
      • Validate with Google Webmaster Tools
    • Domain expiration process
  • Email accounts
    • Hosted email (rackspace)
      • Configure email clients to use POP or IMAP
  • Forms
    • Form and field options
    • Using fieldsets
    • Spam filtering
    • Configure SMTP For outbound emails
    • Using Marketo forms
  • Google Sheets
  • Hosting options
    • Embed pages
    • Wordpress plugin for path override
    • Server path override
      • Apache configuration
      • IIS configuration
      • NGINX configuration
    • CDN (content delivery network) support
  • Maps
    • Location finder
    • Map options explained
    • Google Maps API keys
  • Privacy
    • OneTrust integration
    • Cookies
  • Reverse proxy
    • Privacy and security
    • Proxy Configuration
    • Proxy Gating
    • Form lead tracking
    • Blocking and Whitelisting
      • Whitelisting Options
      • Google Ads rejections or disapprovals
      • 3rd Party Services/Widgets
      • Common Security System Restrictions or Domain Errors
  • SEO
    • Schema.org support
    • Sitemap XML
    • Enable No Index
  • Site builder
    • Getting Started
    • Images and video
    • Pages and content
      • Using page drafts
      • Adding Text
      • Adding and Managing Pages
      • Adding Images
      • Page templates and Templated pages
      • Maps
    • Redirects
    • Site Settings
    • Style Options
    • Adding a Business and location
    • Adding a site
    • Adding a user
    • Adding Custom Forms
    • Adding HTML to Sites or Pages
    • Blogs
  • SSL and security
    • SSL Troubleshooting
    • SSL certificate install options
      • Use your own purchased SSL certificate
    • Enable HTTPS for Sites and Proxies
  • Support
    • Creating a Zendesk account
    • Ticketing submission workflow
    • Builder URL and Site ID
  • Themes and custom templates
    • Getting started
    • Using macros
    • Using custom fields
    • Using URL parameters
    • Hours of operation
    • Using date and time in templates
    • Template variables
    • Site Builder Markup
      • Avoiding Site Builder CSS and HTML duplication
    • Example themes
      • Location focused page with bootstrap
      • Store locator theme example
    • Advanced Examples
      • Theme module templates
      • Static Google maps
      • Content translations
      • Page navigation
      • Override page title and meta tags
      • Adding line breaks to content
      • Get objects
      • Handling boolean values
      • Right to left languages
      • Access current URL
      • Social sharing links
      • Standard filters
      • Serializing data to JSON
      • Form events
      • Schema.org FAQ utility
  • Trace technology
    • What is Trace?
    • Configuration options
  • Data Sources
    • External Contexts
Powered by GitBook
On this page
  • What you need:
  • Proxy Setup
  • Restrict only sending us specific paths
  • Host header

Was this helpful?

  1. Hosting options
  2. Server path override

IIS configuration

Instructions for configuring an IIS server to host pages under your existing server

PreviousApache configurationNextNGINX configuration

Last updated 5 years ago

Was this helpful?

What you need:

Below are what you will need to complete this setup

  • The IP address for your instance: This will be provided by us

  • The path or list of paths that your pages will be hosted under

Proxy Setup

This guide describes the configuration options area where you would setup the Proxy pass to our backend systems:

Using the IP address of your instance, you would configure the following options:

  • IP Address/Port: <YOUR IP ADDRESS>:80

  • Enable the option "Enable SSL offloading"

  • Disable the option "Rewrite the domain names of the links in HTTP responses"

Restrict only sending us specific paths

Since you will only be sending us certain paths using this URL rewrite, you should setup a filter so that this URL rewrite only gets applied to a regex pattern. Example would be regex pattern ^(img|stat|style|your-page-path)/(.*) to filter the requests to send us old these paths.

In addition to the default paths img|stat|style, your-page-path would be replaced with the pages you want to host with us.

Host header

We will also need you to configure the server to preserve and send us the "Host" header so that it sends us www.yourdomain.com on the requests so that we can load up the correct site and page.

You will need to enable the configuration to "preserveHostHeader". Here is a stackoverflow article describing this:

https://blogs.msdn.microsoft.com/friis/2016/08/25/setup-iis-with-url-rewrite-as-a-reverse-proxy-for-real-world-apps/
https://stackoverflow.com/questions/1842885/modifying-headers-with-iis7-application-request-routing