dongwuchu0314 2018-05-15 05:16
浏览 66
已采纳

在PHP Server cpanel中设置启动文件

I am dot net developer. I place web.config and index.html page and write some code in web.config. it opens the index.html default or startup page when I enter my website address in the browser.

Now my question is here, I have PHP cPanel and domain, I want to place index.html page and open it as a startup page. but I found an irrelevant solution according to my problem statement. How can I do this?

I tried, I placed the index.html page in public_html but the page did not open.

any solution, please.

  • 写回答

2条回答 默认 最新

  • dongxian7489 2018-05-15 05:51
    关注

    What is the web server you are using?

    If you are using Apache or Nginx, it should load the index.html as default (Start) page. Make sure, you have the index.html in the web root directory.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?