This :
@technobiz:
…. still redirection to login page does not work.
as a description of your problem will not help us to find out what you forget to mention (and we should know so we can tell you what is wrong).
Tell us more if not everything about your interfaces.
How you set up DNS.
How you set up the portal (configure page).
Start using the default built in login page - and make the portal should work.
You should read : https://en.wikipedia.org/wiki/HTTP_404
Btw : you can not change http://x.x.x.x:8002/index.php?zone to http://wireless.hotspot
This : http://x.x.x.x:8002/index.php?zone is already incorrect. The "zone" parameter should contains value so pfSense knows WHAT captive zone it's handling (more then one can exist)
This : "8002" is hard coded , and the first web server instance that is running to handle your first instance.
When you use something like "http://wireless.hotspot" it implies "http://wireless.hotspot:80" so you will get redirected …. see instruction here https://doc.pfsense.org/index.php/Captive_Portal_Troubleshooting to see what's really going on.