简体   繁体   English

在一个域上运行网站前端,在另一个域上运行网站后端

[英]Run front end of website on one domain and backend of website on another domain

how can we run front end of website on one domain and back end of website on another domain.我们如何在一个域上运行网站的前端,而在另一个域上运行网站的后端。 i am using php and MySQL for this我为此使用phpMySQL

Well, i can only answer unspecific.嗯,我只能回答不具体。

You have to configure your webserver(usually apache) for two domains.您必须为两个域配置您的网络服务器(通常是 apache)。 Then you either work on the same database as the live-server or have some publishing mechanism for the backend data to go live.然后你要么在与实时服务器相同的数据库上工作,要么有一些发布机制来让后端数据上线。

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

相关问题 将magento网站从一个域转移到另一个域 - transfer magento website from one domain to another 将网站从一个域克隆到另一个域 - Clone a website from one domain to another Wordpress 网站重定向到另一个域 - Wordpress website redirection to another domain 将页面从一个域重定向到另一个域(两个域都属于一个网站) - Redirect a page from one domain to another domain (both domains belong to one website) CodeIgniter 在将网站从一个域迁移到另一个域并托管时未加载 CSS 和 JS - CodeIgniter not loading CSS and JS while migrating website from one domain to another domain and hosting 如何计算来自另一个网站(完全不同的域)的一个网站的访问者 - How to count visitor of one website from another website(which are on totally different domain) 在根域上运行 php 网站和在子域上运行 wordpress 博客是否可以? - Is it fine to run php website on root domain and wordpress blog on the sub domain? 复制Drupal网站并转移到另一个托管和域 - Copying Drupal website and transfer to another hosting and domain 使用其他域的功能保护网站 - Protect website by using function from another domain 如何在Joomla网站中根据域名选择首页 - How to make the choice of front page depending on domain name in Joomla website
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM