Change Alternative URL

  • @theqkash


    This will be done in v2.0.0 or maybe in 1.4.x if we have time ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • I'd like to reply to the comment of kess, with servers that have multiple IP's, this might bring troubles.


    Imagine this:
    server1 has 1.2.3.4 and 1.3.2.4
    server2 has 2.3.4.5 and 2.3.5.4


    Now you use the same DNS records as mentioned:
    *.server1.mydomain.tld A 1.2.3.4
    *.server2.mydomain.tld A 2.3.4.5


    Domains that are configured for 1.3.2.4 and 2.3.5.4 will now no longer load, because apache is configured for requests to a specific IP.


    An option to overcome this problem would be to use specific IP-related DNS records, for ex:


    *.ip1.server1.mydomain.tld in A 1.2.3.4
    *.ip2.server1.mydomain.tld in A 1.2.4.3
    *.ip1.server2.mydomain.tld etc etc


    Another possible solution is the idea of @theqkash, even though he might not have meant it this way.
    It could be testdomain.com.server1.mydomain.tld.
    You could allow alias domains and subdomains this way as well.


    Anyone else any ideas?

  • Domains that are configured for 1.3.2.4 and 2.3.5.4 will now no longer load, because apache is configured for requests to a specific IP.

    Since i-MSCP 1.3.1, DNS records for alternative URLs are always set with the base server ip in the DNS zone file. That IP is always added to the Apache vhosts. For instance, if the customer IP is not same as the base server vhost, both IPs will be added. This change is related to: https://youtrack.i-mscp.net/issue/IP-1588

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206