thunder07337
I don't know how your network is set up, but normally the Pi gets its IP automatically assigned via DHCP. If your Pi is in a VLAN, you have to make the settings accordingly on the switch, not on the Pi.
And since I don't feel like guessing what exactly you have in mind, it's time you explained what exactly you have in mind.
Why do you think the web server has to be set up differently just because the Pi is connected to this switch?
What exactly is your end goal?