How to add an alias to subdomain?




  • Avatar
    Sage Pointer (Edited )

    I solved this problem through "Apache & nginx Settings" of my subdomain

    Additional directives for HTTP:
    ServerAlias my.alias.subdomain.tld
    Additional directives for HTTPS:
    ServerAlias my.alias.subdomain.tld
    Additional nginx directives:
    server_name my.alias.subdomain.tld;

    Just make sure your alias subdomain resolves correctly to the same IP as your base subdomain you want to stick your alias to.

  • Avatar
    Ivan Postnikov (Edited )

    Hello @Sage, thank you for sharing an alternative way to achieve this goal.

    Have you tried the steps from the article? Why was this way not suitable for you?

    Thank you in advance.

Please sign in to leave a comment.

Have more questions? Submit a request