Get the App
SLTechnology News&Howtos  ›  Servers  › 

When accessing iTop through a domain name, the home page does not display properly or the domain name jumps to loc directly.

Shulou Source: shulou.com Published: 2022-06-02 17:48:13 09月22日 Update

When accessing iTop through a domain name, the home page does not display properly or the domain name jumps to localhost directly.

©Lander Zhang focuses on on-demand IT operation and maintenance services for foreign enterprises, and IT Helpdesk practical training practitioners

Blog: https://blog.51cto.com/lander

Practical training course for IT Helpdesk engineers: https://edu.51cto.com/lecturer/733218.html

Easy entry into foreign companies: the way for IT Helpdesk engineers to practice and self-study: https://blog.51cto.com/lander/2413018

Last updated: 2019-11-9

Problem description

The iTop training system is deployed in the enterprise intranet, and the A record is added to the intranet DNS to achieve access through http://itop.pushits.com.

Through domain name access, you can normally access the home page and log in:

Once you click on the internal link of the system (such as the Welcome in the figure above), the domain name and address will automatically switch to localhost and require you to log in again:

Analysis of problems

This is because when we install and configure the iTop system, we set the access url of iTop to localhost (of course, we can plan ahead. When installing and configuring, we can directly enter the required domain name at Server name to avoid this problem):

The domain name can be resolved to the iTop server, but once the internal link is accessed, the default localhost is used. So what we need to do is to change the default access url of iTop to the domain name itop.pushits.com.

Operation steps

1. Modify approoturl parameters

In iTop, under Admin tools-configration, change APP root url from localhost to itop.pushits.com:

two。 Test access

Access through the domain name on the client computer and click the internal link, and url still uses the modified itop.pushits.com domain name:

If the document is useful to you, please forward it and share it!

Tags: Domain name system actual combat link question training home page foreign enterprise engineering engineer service login configuration above picture enterprise blog parameter address training course customer Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux MariaDB Xiaomi Shulou Information vpn