Azure Web App default hostname being used instead of domain

Found the solution in case anyone else is struggling. The article linked in this thread is what has fixed it.