我用django開發了一個工作正常的網站,它即將遷移到生產環境並準備在幾周內部署。在局域網系統中訪問django項目
所以移動到生產環境之前,我想分享一些我的員工的現場檢查功能和別的東西。實際上他們的系統與我的局域網連接。
所以我的系統IP地址是一樣的東西192.168.12.135
,當我們運行在localhost:8000
運行Django開發服務器運行它,我的意思是與系統的IP地址和端口8000
像192.168.12.135:8000
權。
,所以我不得不分享他們的項目現場的環節192.168.12.135:8000
,但是當他們試圖在其上連接在局域網中的系統,它是無法訪問的,並顯示錯誤Server not found
。
我嘗試了上述同樣的方式,因爲最近我用蟒蛇web.py
框架,並制定了最低的網站,當我們運行在默認情況下運行服務器,它爲localhost:8080
,當我訪問別人的系統,此鏈接連接局域網與我的192.168.12.135:8000
,其工作正常,並可訪問。
所以,任何人都可以請讓我知道
1. How to access the site on the systems that are connected in LAN before moving to production(in some real servers like apache, nginx etc.,).
2. Basically i am new to web developing and this is my first site developed in python, so
i don't know more about servers and deploying a project. So can anyone please let me know
the detailed information about deploying django on different servers
感謝,幫助,其實我尋找一個快速部署的教程,如果你發現我的答案有幫助初學者可以部署很容易 – 2013-03-18 07:20:18
,將其標記爲正確的。我應該承認,對於新手來說這是一項複雜的任務。可能你應該從系統管理員團隊獲得幫助。和爲貴,https://www.google.co.in/search?client=ubuntu&channel=fs&q=django+apache+configuration&ie=utf-8&oe=utf-8&redir_esc=&ei=psBGUe7aOoHMrQeJv4CgBQ – Babu 2013-03-18 07:23:56