I have Dokuwiki running perfectly on a server using https://18.104.22.168/dokuwiki (using IP address), but I just assigned the site a name and configured Apache to point to it using virtualhost, but now it keeps redirecting (more than 10 times) and not showing anything.
Old working address: https://22.214.171.124/dokuwiki
New broken address: https://wiki.example.com
Apache shows me this:
Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
My Dokuwiki is configured to use .htaccess for CleanURLs
What can be causing that? and how can I fix it?