rename index to server for AWS