Contents
Server Redirect
This step directs the user to the correct server.
Log into CloudFlare, and find the site that needs to be launched. Navigate to DNS, and make sure the www
entry is present , has type CNAME, and is an alias of [cecongress].org
.
Application Redirect
This step directs the user to the correct application on the server.
- Log into the Webapps server using Plesk. Under Websites & Domains, and find the domain for conferencesuite.asce.org. Go to Apache & nginx settings.
- Make sure the entries below are present in both the Additional directives for HTTP and Additional directives for HTTPS boxes:
ServerAlias [cecongress].org ServerAlias www.[cecongress].org
- In the Additional directives for HTTP box only, add or update the following directives:
RewriteCond %{HTTP_HOST} ^([year-live].)?[cecongress].org [NC] RewriteRule ^(.*)$ http://www.[cecongress].org/$1 [L,R=301]
(where [year-live] is the year of the site you are launching). This will direct the user from the to-be-launched year towww
.
Site Redirect
This step directs the user to the correct site within the application.
- In Plesk, under Files, navigate to
asce.org/conferencesuite.asce.org/web/sites/
and open the filesites.php
. - Add or update the following redirects to the
$sites
array:'[cecongress].org' => '[cecongress].org/[year-live]', '[year-stage].[cecongress].org' => '[cecongress].org/[year-stage]', 'www.[cecongress].org' => '[cecongress].org/[year-live]',
(where [year-live] is the year of the site you are launching, and [year-stage] is the year of any past or future staging sites already present).