Web Page Creation

Asked by Lonnie

Hi,

I want to create a Web Page in my Ubuntu installation and have this web page accessed through the internet. How would I go about doing this task?

Thanks,

Lonnie

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ian Fleming (iflema-deactivatedaccount) said :
#1

Hi Lonnie.

Its pretty easy to get going, a relatively simply web page can be up in minutes.

Using the Apache web server and placing files in /var/www/ will result in the web page being available for Local Lan and Internet users.

By default ubuntu requires no firewall configuration however you will most likely have to allow this trafic through the device provided by you ISP (adsl router or cable modem) because generally by default any unsolicited incomming traffic is blocked and as im sure your aware Incomming traffic is important for a web page.

Setup of Apache becomes more complicated as/if/when the webpage becomes more complicated. But its pretty easy all things considered.

Apache would be one way..... A native application you could say.......

Revision history for this message
wael magdy salah eldien (waelmagdy) said :
#2

1st Install apache

to install From a command shell, you will run the following commands:

    sudo apt-get install apache2

    sudo apt-get install php5

    sudo apt-get install libapache2-mod-php5

    sudo /etc/init.d/apache2 restart

Note that if apache is already installed you can omit the first line. Your web files will now be found in /var/www/

2nd use text editor or any program that saves files into - web pages supported formats - like HTML and make your page and save it to /var/www/
(you can use screem or open office.org)
finally open the web browser

Can you help with this problem?

Provide an answer of your own, or ask Lonnie for more information if necessary.

To post a message you must log in.