httpd vconfiguration with an exception

NameVirtualHost *:80

This is what my httpd.conf file looks like:

<VirtualHost backend.aonesalons.com:80>
    ServerName backend.aonesalons.com
    ProxyPreserveHost On
    # setup the proxy
    <Proxy *>
        Order allow,deny
        Allow from all
    </Proxy>
    ProxyPass / http://localhost:11000/
    ProxyPassReverse / http://localhost:11000/
</VirtualHost>

<VirtualHost *:80>
    ServerName *.aonesalons.com
    ProxyPreserveHost On
    # setup the proxy
    <Proxy *>
        Order allow,deny
        Allow from all
    </Proxy>
    ProxyPass / http://localhost:9000/
    ProxyPassReverse / http://localhost:9000/
</VirtualHost>

It is being called from http://demo.aonesalons.com/.

In XHR calls, it shows:

Request URL:http://backend.aonesalons.com/auth/getSalonIdByHostName?hostname=demo
Request Method:GET
Status Code:303 See Other
Remote Address:13.126.39.156:80
Referrer Policy:no-referrer-when-downgrade

and the api call never really hits the server. How do I fix this?