Develope website on local host (virtual host)
I am trying to develop a wordpress website using bitnami app for WordPress. I want to develope the website locally on my system by creating virtual host let’s say www.example.com. now , when I go for changing the home and site URL in general settings of wp-admin page, both the fields are not editable. I tried to fix it using wp-options table, functions.php, wp-config file(as articles available on net), but none of it works. The home and site URL page is simply uneditable. I am curious to know how I can achieve this so that I can develop the site locally and then directly upload it on my hosting site .
Reason being everywhere localhost/wordpress is being mentioned which will land me in trouble when I will post it on my hosting site.
Need suggestions for fixing it only on localhost /virtual host method only .