Problem with access at my nextcloud by local hos

hi, i have a problem with access at my nextcloud by local host.
I have a router don’t work with domains external and I want to enable access local and work with two access, How can to do this?

I have working my server in apache 2 in ubuntu 18.04 by raspberry