Site_url Issues

I am using a 3rd party app to integrate suitecrm and another app but it asks for my crm site url. I knew the http://localhost/suitecrm may not work but I tried anyway. I also thought I could maybe change it to a different domain in the config.php file but it said it wasn’t found. Is there a step I’m missing? Do I need a registered domain first to change http://localhost/suitecrm to the domain I want there and if so, what next?

the site url setting are located in the config.php file under the tags:
‘host_name’ => ‘localhost’
‘site_url’ => ‘http://localhost’,
Just replace “localhost” with your LAN IP address. Go ifconfig or ipconfig/all depending on your OS and get your server’s IP. If you want to contact the CRM from WAN you will need to port fwd or nat.