LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2010, 08:55 AM   #1
albie17
Member
 
Registered: Jul 2010
Location: District 9
Distribution: OpenSuse, Fedora, CentOS, Ubuntu, RHEL
Posts: 31

Rep: Reputation: 0
How to view Apache files online?


Hi there LQ peeps,

Now I'm done configuring our Apache HTTP Server. Local clients are able to connect/view our web server content via 192.168.1.3. Here's the problem now, how do I make this server visible over the internet? What necessary configuration should i make? Let's say when i visit www.example.com i want to see all of my web files over there. Here's my configuration:

/etc/hosts
127.0.0.1 centos.example.com centos example.com localhost.localdomain localhost
192.168.1.3 centos.example.com centos example.com

/etc/hostname
centos.example.com

httpd/conf/httpd.conf
Listen *80

Firewall - Disabled
SELinux - Disabled

Thanks.

Sincerely,
Albie
 
Old 10-11-2010, 09:18 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
Do you have a router? You need to forward port 80 from your router to 192.168.1.3. http://portforward.com/
 
Old 10-11-2010, 09:43 AM   #3
albie17
Member
 
Registered: Jul 2010
Location: District 9
Distribution: OpenSuse, Fedora, CentOS, Ubuntu, RHEL
Posts: 31

Original Poster
Rep: Reputation: 0
Using port forwarding (80) only supports my public ip. I want a domain. Thanks anyway.
 
Old 10-11-2010, 10:14 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
You can buy a domain and point it at your public IP.
 
Old 10-11-2010, 10:18 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Or you can use dyndns
http://www.dyndns.com/

Kind regards
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't externally view files on an Apache 5 server orangeghost Linux - Server 13 10-24-2008 03:44 PM
I want OpenOffice to start in online view joshknape Linux - Software 3 09-25-2005 02:34 PM
How can konqueror view html files in .gz & .bz2 files directly? ailinzhe Linux - Software 5 05-24-2004 09:36 AM
Can't view apache server files on lan Remy Avril Jr. Linux - Newbie 18 10-20-2003 09:38 AM
You can now view the man pages online at LinuxQuestions.org jeremy LQ Suggestions & Feedback 6 06-27-2002 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration