Local Server Hosting
Автор: E. Alnajjar
Просмотрено 4541,
Подписчики 1,
Размещенный 54
How to host my website in local server ?
Размещено
How to host my website in local server ?
Hello,
You have to install a webserver on your pc (like XAMPP) then export the site at step 5 (select "Export to Hard Disk") and export the site in the server public folder. Then it will be accessible at "http://localhost/site_folder_name".
WSX5 can't handle a webserver while in preview mode so you'll always have to export the site from step 5 to test it.
Remember to setup the correct site url at step 1. If you're testing your site on your PC, type "localhost" as url's domain instead of the final domain of your site.
Автор
Thanks there , if i want to host it in our LAN server so all user can access the sitr , we do have server machine with windows server 2008 , how to do it ?
Hi, just upload the site on your LAN server like it's a normal Internet Web Server. If it has an FTP server on it, there's no difference.
Make sure PHP is supported on it, of course.
Автор
Hi there ...
Thanks for your explination i have tried and it is working fine in my local server ,
now i have another issue how let the website send an email , what i have to configure in my server which allow the website to send an email .
regards
Hello,
you must configure the mail server (or at least give to your server an smtp access).
I suggest you to read this article: http://roshanbh.com.np/2007/12/sending-e-mail-from-localhost-in-php-in-windows-environment.html