Usually when we develop a web page with dynamic content, we start using a local host. This is needed to easily develop and test your web page. However, sometimes you need to show the webpage to your colleagues or to a
freelancer client. In that case, you need to deploy the web page on a
real domain. For example, let's consider the following basic PHP project, it only contains 1 html file, and 1 php action.
Then we run the webpage locally on our machine using web development environment such as Wamp server. This example should read an input frequency from the user. Notice that webpage address is (localhost/multicarrier/index.html). Localhost is the web server on the machine, multicarrier is the name of the project, and index is the name of the homepage.
It is crucial to make sure that wamp server icon is green, which means that all services are started correctly, if not check solution here.
To deploy our simple project "multicarrier", we select a free web host site, such as http://www.biz.nf/. First, get a free membership, and upload your files using file manager. Every free hosting have some sort of file manager.
Now, we select a domain name which probably won't be multicarrier.com or multicarrier.net because it is free.
Finally, we upload the files and open our web page which is now live as seen from the address which is not running on our machine anymore.
I know this topic is very trivial, but I wanted to share it for two
reasons. First is that many people asked me about uploading a website to
a host, as if it is something huge. Second, and more importantly, in
the near future most of the programming will be performed on the cloud
not on our local machines. It will not be necessary anymore to install
tools to your local machine, alternatively we select the desired tools from the cloud such as Microsoft Azure or IBM Bluemix.
Developing on the cloud needs only a user name and password, then from the
cloud we choose any database type, or web service.
Then we run the webpage locally on our machine using web development environment such as Wamp server. This example should read an input frequency from the user. Notice that webpage address is (localhost/multicarrier/index.html). Localhost is the web server on the machine, multicarrier is the name of the project, and index is the name of the homepage.
It is crucial to make sure that wamp server icon is green, which means that all services are started correctly, if not check solution here.
To deploy our simple project "multicarrier", we select a free web host site, such as http://www.biz.nf/. First, get a free membership, and upload your files using file manager. Every free hosting have some sort of file manager.
Now, we select a domain name which probably won't be multicarrier.com or multicarrier.net because it is free.
Finally, we upload the files and open our web page which is now live as seen from the address which is not running on our machine anymore.
We are the one!
ReplyDelete