Making a base url without /public
This is not so much a Craft question as a web server question.

The directory structure of Craft is intended for the web server to have the public (or web in Craft 3) directory configured as the document root.

This is a configuration setting you’ll find in your Apache, Nginx or other web server documentation.