Create a domain alias in Plesk from the command line
plesk command line create domain alias | point second domain to same website | plesk add domain alias ssh | plesk | domain | aliasCaution: This command changes the system. Understand what it does before you run it.
plesk bin domalias --create example.de -domain example.comCreates an alias that points to the webspace of the given domain. Depending on the settings, Plesk also creates DNS records and mail forwarding for the alias. It can be undone with plesk bin domalias --delete.
Note: For SEO, an alias serves identical content under a second address. A 301 redirect to the main domain or a correct canonical tag is usually the better choice.
Also searched as
- plesk command line create domain alias
- point second domain to same website
- plesk add domain alias ssh