douya7121 2016-02-01 18:40
浏览 36

在apache linux中将子文件夹设置为子域

I am creating sub folders on my domain in this format:

http://example.com/f1.

I'm creating the folders like this. I want to access their contents with the url in this format:

http://f1.example.com not in http://example.com/f1.

I am using apache linux OS with php as server language. Please help with this. How can I do this?

  • 写回答

2条回答 默认 最新

  • dshmvqnl98119 2016-02-01 18:54
    关注

    If your hosting provider supports cPanel you can easily create sub domains. Go to your hosting cPanel. Find the option named "Sub Domains". In there, you will be able to create sub domains under your domain.

    评论

报告相同问题?

悬赏问题

  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?