added SERVER_NAME to common context, and links to beta and prod sites
corrected prod site check