hometriangle-righttriangle-leftmenu3

Setting sites up on Secure 2 / DS02

DO NOT SETUP PREVIEW ON SECURE2.SPIDERSCOPE.COM,
USE A PREVIEW URL SUCH AS 1688.SPIDERSCOPE.CO.UK


IIS7 (not6)
----select sites
--------select add web site (top right)
------------sitename: www format
------------Content Directory > Physical Path: to the root folder (e.g. /3279/ or /3279/domain.co.uk)
------------Binding > IP address: use the ipv4 versions (e.g. 158.255.228.47)
------------Binding > Host: enter actual domain with w''s (e.g.http://www.advancedmachinery.co.uk
------------OK

--------edit bindings

------------Add root domain (e.g. advancedmachinery.co.uk)
------------Add preview domain (e.g.http://1688.spiderscope.co.uk)

A new DNS entry pointing to ds02.spiderscope.com will need to be setup in Daily.
--------expand the new site
------------select IIS / ASP
----------------Behaviour > Enable Parent Paths -> true
----------------limit properties > set max req entity body limit to 10 000 000
----------------debugging > send erros to browser -> true
----------------apply changes
------------select IIS / Authentcication
----------------Anonymous Authentication > Edit: select "Application pool identity"
------------IIS / error pages
----------------Select 404 > Edit > Execute URL: "/404.asp" (cant test this on the preview domain)
--------------- IIS > Error Pages > Edit Feature settings (RHS) > Check "Detailed Errors for local requests and custom error pages for remote requests” (Enables detailed error messages to browser)
--------expand the site on the LHS to reveal directories
------------browse to any directories or files that will require write permissions (within IIS) e.g. /content/ and make sure scripts cannot be executed within the directory.
--------------------Select IIS / Hander Mappings > Edit Feature Permissions > Uncheck/disable ''Script''
------------right click on the site and select "add virtual directory"
--------------------alias "admin" - select the admin folder that is outside of web root
----app poools
--------select new site
------------advanced settings (RHS)
----------------general > enable 32 bit = true
Explorer
----root directory (e.g. /vs/3279/)
--------properties > security
------------edit > add > type: "IIS APPPOOL\www.dukwforsale.com"
----------------grant read permissions only
----other directories and files
--------add write & modify permissions for the "IIS APPPOOL\www.dukwforsale.com" user to any files that require it. (normally just the /content directory) There should be no write permissions for DS02 app pool on any accessible directories!
------------confirm that these directories cannot execute scripts (upload a hello world file to the content directory and see if it run)
----database folder (e.g. /db/3279/)
-------add full permissions for "IIS APPPOOL\www.dukwforsale.com" user.
-------If they have a cart and don''t have their own SSL certificate, then customer folder will also need DS02 write permissions, otherwise there should be no secure2/ds01 permission on this folder.
----web.config > edit it manually
--------ensure it is in the root of the website directory
--------make sure it has the default documents (remove all, then add index.asp) and the 404 in it