The main site on a multi-site installation returns 404 error

All of the subsites, that are on the subdomains, are working perfectly fine other than the main site. Please help me to fix this.