Access via localhost and public domain both

Access via localhost and public domain both

by 冠曄 林 -
Number of replies: 0
Is there possible that I visit my moodle both via localhost and public domain?
Since if I set `wwwroot = 'https://mydomain.com'` then I won't be able to access it via 127.0.0.1 ever.
However, there may be sometimes I need to do so. 
Average of ratings: -