简体   繁体   English

使用cloudflare保护专用服务器

[英]Protect dedicated server with cloudflare

So I have an Ubuntu 10.04 based dedicated server with LAMP installed. 所以我有一个安装了LAMP的基于Ubuntu 10.04的专用服务器。 I host several websites, but for now all websites are on same IP, configured using Apache Virtual Hosts. 我托管了多个网站,但目前所有网站都位于使用Apache虚拟主机配置的相同IP上。

So everyone can attack my server, etc by getting IP. 这样,每个人都可以通过获取IP来攻击我的服务器等。 I wanna protect it with cloudflare, but then I need to setup my server different. 我想用cloudflare保护它,但是然后我需要设置不同的服务器。 To use DNS I suspose. 我怀疑要使用DNS。

How to do that? 怎么做?

Thanks in advance. 提前致谢。

您需要分别设置每个域。

Resolved. 解决。 Set name servers to cloudflare then configured subdomains on cloudflare to my server IP... 将名称服务器设置为cloudflare,然后将cloudflare上的子域配置为我的服务器IP ...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM