LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-08-2010, 08:58 AM   #1
navnathindia
LQ Newbie
 
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
Smile Installed LAMP, bind9, Komposer - now how do I publish my website?


I am user of Ubuntu,I would like to setup a local server and publish a website on local server in linux.

For that, i installed LAMP setup in my system.

And also i have installed a local DNS server using Bind9 in my system.

through some linux forum i came to know that i can create a website using komposer.

Now i want to know how to publish a website on my local server..

Please help me out in this..

Thanks in advance.

Last edited by GrapefruiTgirl; 12-08-2010 at 09:02 AM. Reason: edited title so it says *something* useful.
 
Old 12-08-2010, 02:42 PM   #2
sysslack
Member
 
Registered: Feb 2006
Posts: 69

Rep: Reputation: 15
Hi!
I will try to help!
Have you read this?
http://www.thesitewizard.com/getting...torial-1.shtml
Uploading or Publishing Your First Web Page
If you have started all of services in Lamp including apache deamon httpd
then as I understand:

Start up your browser. Type the URL (web address) of your website
Localhost:80 or 127.0.0.1:80

God Luck!
 
Old 12-08-2010, 03:19 PM   #3
jan61
Member
 
Registered: Jun 2008
Posts: 235

Rep: Reputation: 47
Moin,

if you are new in web development, I would suggest you to start like this:
1. learn how to configure apache: http://httpd.apache.org/docs/2.2/en/
2. learn about html, css, javascript: http://www.pagetutor.com/index.html (and many others)
3. learn how to configure and how to use mysql: http://dev.mysql.com/doc/
4. learn about php: http://www.php.net/

And then: Do NOT use Komposer or other web development environments to create your first web site! Use a simple text editor (it's easy to write the first index.html - example below). This way you understand, what you are doing - the web is full of sites created by people not having the faintest idea of what they've done.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
    <title>My first website</title>
  </head>
  <body>
    <h1>My first website</h1>
    <p>
      The quick brown fox jumps over the lazy dog.
    </p>
  </body>
</html>
BTW: You don't need a dns server to setup a website in your local net. On your local server you can access the site via "http://localhost/your_site" (apache itself can be found at "http://localhost"), on other systems the ip address or the name you defined in /etc/hosts can be used.

hth
Jan

P.S.: If you are free in the choice of a database to use, I'd prefer PostgreSQL (http://www.postgresql.org) - in my opinion MySQL was never and is yet not really a database ;-), PostgreSQL is much more powerful! And the new owner of MySQL (Oracle) is currently doing a bad job - the main MySQL developers already left the company and created a fork (MariaDB: http://mariadb.org/). But that's my personal opinion, I don't want to start a database flamewar.
 
Old 12-09-2010, 03:51 AM   #4
anuwardeen
LQ Newbie
 
Registered: Dec 2010
Posts: 1

Rep: Reputation: 0
hi,
i am new in DNS server configuration. i have configured internal DNS. But i do not know how to configure the both internal and external DNS in a single server. I am using fedora8 OS.Please help me for this configuration.

Thanks
 
Old 12-09-2010, 06:06 AM   #5
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
Have you registered a domain? If so, your registrar should provide the necessary DNS services.
 
Old 12-09-2010, 06:14 AM   #6
mudangel
Member
 
Registered: May 2008
Location: Ohio
Distribution: Slackware
Posts: 267

Rep: Reputation: 56
Quote:
Originally Posted by anuwardeen View Post
hi,
i am new in DNS server configuration. i have configured internal DNS. But i do not know how to configure the both internal and external DNS in a single server. I am using fedora8 OS.Please help me for this configuration.

Thanks
Wrong thread.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration