Question "Our website can be found on www.domain.ext and domain.ext (non-www). How can we only allow www.domain.txt?"
You could use .htaccess for this purpose (only on Linux servers). Add the code that is mentioned below in .htaccess under the line "RewriteEngine On".
Replace domain.ext with the name of your own domain!!
########## Begin - Redirecting www request to non-www
#
RewriteCond %{HTTP_HOST} ^domain.ext [NC]
RewriteRule (.*) http://www.domain.ext/$1 [L,R=301]
#
########## End -Redirecting www request to non-www
Our website can be reached via two different domain names that have an alias function. So one can visit the site as for example a visitor via domainname.nl and via domainname.com. However, if a person visits the site via one of the domain names, we receive a license error message: "Uw licentie is niet geldig..." We have no problems with the other domain name.
The first solution would be to request a license for several domain names. You will then receive a license that works with the .nl extension and the .com extension alike. However, this solution is not recommended by us!!
It is not beneficial for search engine optimization to set up several domain names on a website as an alias. If you wish to redirect several domain names to one website you should do this according to Google with a '301 redirect'. Contact your host for more information or Google "301 redirect".