I need to get my new domain for example.net to not only respond to the same content as I have for the existing example.com, but I need the user to actually still only see example.net when they get to the site.
I thought this would work simply by using the Apache ServerAlias
directive as follows, but one still seems to just get redirected to the .com.
ServerName www.example.com
ServerAlias example.com *.example.com example.net *.example.net
Is this all it should generally take for it to work and keep the example.net domain in the users' address bar? Do I need to create a CNAME
record? (my provider does not let me create ALIAS
records, if that matters).
Are there multiple ways of accomplishing this?