Got everything set up for the production server to work correctly

There is a very high chance that I did this completely wrong.  However, it is working, one way or another, so I guess I can't quite complain.