How to resolve dns issue with apache....

Alles, was den Apache betrifft, kann hier besprochen werden.

How to resolve dns issue with apache....

Postby tilakraj » 02. December 2013 12:11

we are maintaining our DNS account to GODaddy DNS Provider for our servers, Right now we have an problem, If some one have to register domain or sub-domain from any of other dns provider or godaddy dns provider it allow's to activated and those domains are pointing directly to our servers easily, how to avoid these kind of cases, how to restrict some other peoples have to register some illegal domains like (porn or some other sites) with our server ip, How to avoid this kind of problem,We need your help for this kind of case.
tilakraj
 
Posts: 1
Joined: 02. December 2013 12:09
Operating System: linux

Re: How to resolve dns issue with apache....

Postby Nobbie » 02. December 2013 13:31

tilakraj wrote:how to avoid these kind of cases, how to restrict some other peoples have to register some illegal domains like (porn or some other sites) with our server ip, How to avoid this kind of problem,We need your help for this kind of case.


a) why should someone do this? If a domain name is registered to your IP, you are responsible for the content - so if you dont show porn (for example), you dont show porn.

b) anyway, using namebased virtualhosts, you can assign multiple domain names for your single Server IP. If the requested domain name (for example a porn domain name) does not match any of the configured domain names, Apache uses the first configured virtualhost as a default handler. You may issue an error message or whatever you want.

See the documentation about virtualhosts for more information.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04


Return to Apache

Who is online

Users browsing this forum: No registered users and 29 guests