How do I change settings,every page is showing a ip address

I need help changing the settings so my subdomains/subdirectories show instead of an ip address in the adress window