Part 4: Launch the Site

Submitted by charvey on Wed, 04/18/2018 - 10:00

Contents

  1. Server Redirect
  2. Application Redirect
  3. Site Redirect

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.

  1. Log into the Webapps server using Plesk. Under Websites & Domains, and find the domain for conferencesuite.asce.org. Go to Apache & nginx settings.
  2. 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
        
  3. 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 to www.

Site Redirect

This step directs the user to the correct site within the application.

  1. In Plesk, under Files, navigate to asce.org/conferencesuite.asce.org/web/sites/ and open the file sites.php.
  2. 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).