where to configure server IP / website url

i am new to elgg , i want to remove localhost and set website url or can acess by IP but when i have made changes  from site administration/db table : elgg_sites_entity /.htaccess,  its giving error.

please help me.

 

Thanks in advanced.

nandkishore