magento store url define in local.xml

<?xml version="1.0"?>
<config>

    <stores>
        <default>
            <web>
                <unsecure>
                    <base_url>http://localhost/project/</base_url>
                </unsecure>
                <secure>
                    <base_url>http://localhost/project/</base_url>
                </secure>
            </web>
        </default>
        <admin>
            <web>
                <unsecure>
                    <base_url>http://localhost/project/</base_url>
                </unsecure>
                <secure>
                    <base_url>http://localhost/project/</base_url>
                </secure>
            </web>
        </admin>
    </stores>

</config>