@Cold-Egg this vhost is added to a listener(DEFAULT port:80) as well. I tried changing domain to '*' and then it worked. But I can't do that since I have to add another vhost for this listener.
I tried to create a new listener for port 443 but it wouldn't bind any listener. I checked using `sudo lsof -i:443` and no, there were no listeners on that port. I tried adding a listener to port 8088 and it worked fine.
@ronaldst I usually run into this problem randomly and then I have to try removing the listeners and removing vhosts repeatedly to get it to work and that too is purely by chance. So I was wondering if anyone else run into this kind of issue or not. If they do what's the best way to fix it...
I have added a new virtual host to a port 80 listener. I have an Index.php file in the root directory. But it keeps returning an error 404 page, while other 2 vhosts are working just fine.