How to disable direct IP access to the journal

Describe the issue or problem
Please tell us what happens and what you expected to happen.

my journal can be accessed by domain name or IP address.
how to disable direct IP access??
fig1. can be accessed by ip.
image
fig2: Bing/Google shows the ip address related page.this is not what i want.

Hi @yhangde,

This is not so much an OJS question, but rather related to software that you run on your server like apache, so it is outside of the scope of what we cover here in the forum. You might find more helpful advice on this by searching the open web and through resources like stack overflow: https://stackoverflow.com/questions/52087592/how-disable-direct-ip-access-in-apache

-Roger
PKP Team

2 Likes