I am new to this hosting stuff. I dono anything about hosting a site. I am developing a website in xampp-windows. What should i do for hosting the website in a domain. If u know please tell me about this hosting of a site in my case.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
- Get yourself a simple host provider that gives you roughly the same versions for PHP and MYSQL as your current home install. For starters, choose a shared host with plesk or something simple like that. Make sure you're getting phpmyadmin if you're used to that.
- export your database and move it to your host (import)
- Go over your code and check for windows-only references. The first things that come to mind are paths (c:\yourpath\www\yoursite\ versus /var/www/yoursite/ for isntance)
- Put your code on the site.
- test. If you find problems, go to stap 3. If you don't, go to step 6)
- ...
- profit!