hello, i need to know how setup a website able to be viewed both using http://www.domain.tld and http://1.2.3.4 where 1.2.3.4 is a dedicated ip for the domain.
but why setting up ip as co-domain it doesn't work? i.e. domain ip is 1.2.3.4 in ispconfig i want to setup 1.2.3.5 as dedicated ip so i put a co-domain 1.2.3.5 (1.2.3.5 is not used by ispconfig) now ispconfig set ServerAlias 1.2.3.5 into its apache configuration for the vhost, why it doesn't work?
Server aliases aare always domain names. ISPConfif does not support IP based vhosts! The only way you might try is to use some kind of redirect in the shared IP website to redirect requests to the correct hostname if someone used the IP accidently.