Servername in wpad.conf

Hello,

is it possible to assign two subdomains in wpad.conf, I recently tried this one below and it seems to work, but I’m unsure if this is correct.

...
ServerName wpad.green[localdomain]
ServerName wpad.blue[localdomain]
...

In my opinion wpad is automatically generated by ipfire and is a mirror of the “Advanced web proxy configuration”.
Therefor it should work

Thank you for your response. I altered the code a bit, as shown below, and it seems to work quite well.

Listen 80
<VirtualHost *:80>
DocumentRoot “/srv/web/ipfire/wpad”
ServerName wpad.green.[localdomain]
ServerAlias wpad.blue.[localdomain]
Alias /wpad.dat /srv/web/ipfire/html/proxy.pac
Alias /proxy.pac /srv/web/ipfire/html/proxy.pac
</VirtualHost >