KS-4701: [WIKI] Image URL broken if hostname contains the word portal

Fix description: Change to get correct domainURL in case hostname contains the word portal.