如何实现这种域名的定向功能?

由 xiezuming 在 07-31-2004 21:29 发表:

如何实现这种域名的定向功能?

现在有一个服务器,有一个标准的ip,而且有一个域名,比如www.mysite.com。现在我想实现一个功能,输入www.user1.mysite.com,可以对应服务器上一个目录或者跳到一个联结。

简单的说,就象yculcn.com一样,每个人都有自己的blog地址,直接输入user1.blogcn.com,就会跳到www.blogcn.com/user1/...这个地址。

这个功能要如何实现,是要配DNS,还是在TOMCAT里面配置?


由 Snoopy 在 07-31-2004 22:55 发表:


http的 个人主页 ?

dns的在 www.mysite.com里添加一条a记录


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 xiezuming 在 08-0

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus