LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-10-2004, 08:52 AM   #1
toddncl
Member
 
Registered: Jul 2003
Location: north of england
Distribution: suse 9.1
Posts: 56

Rep: Reputation: 15
accessing my apache from the www


hi all, its that time of year again, off uni for 3 months now which is nice )) my little project this time is to setup my own webserver with email. Having read quite a bit about email im going to give gmail a bash.. Before all that i want to have access to my server from the www which is proving quite a pain.

i have the following installed and running together nicely:
suse 9.1
apache 2.0.49-27.5
mysql 4.0.18-32
php 4.3.4-26

i even managed to import all my old DB files from my win partition using the excellent myphpadmin

i have bought a domain name and would really like to access my server from the www using my domain name. could anyone point me towards a nice tutorial that can help me set this up? i can access everything from my pc via localhost or my IP which is nice, just not as nice as using a domain name ))

thanks for any help
 
Old 06-10-2004, 09:13 AM   #2
auximini
Member
 
Registered: Dec 2003
Location: Calgary, AB
Distribution: Any!
Posts: 146

Rep: Reputation: 18
Hi,

You'll need to do some DNS work here.
The easiest solution is to find a provider that will host your DNS records. I believe Granite Canyon still does this for free (http://soa.granitecanyon.com/).

The do-it-yourself solution is a little bit more involved.
You'll want to install a DNS server such as BIND or djbdns or any of the other smaller ones on your server. Next, you'll want your your server to have atleast 3 DNS records:

yourdomain.com
ns1.yourdomain.com
ns2.yourdomain.com

After that's all set up, go back to the website where you registered your domain. There /should/ be an option somewhere to register new nameservers. From there, add ns1.yourdomain.com and ns2.yourdomain.com with your IP address.

Finally, go into your account configuration (from the registrars website) and tell it to use ns1.yourdomain.com and ns2.yourdomain.com as its primary and secondary nameservers.

Save all the info and you should be able to access your page within 24-48 hours.

This really wasn't a step by step tutorial since there are a bunch of different ways to configure this type of set up -- but it should give you a general idea on what needs to be done.

Hope it helps a little
 
Old 06-10-2004, 09:22 AM   #3
toddncl
Member
 
Registered: Jul 2003
Location: north of england
Distribution: suse 9.1
Posts: 56

Original Poster
Rep: Reputation: 15
thanks for the quick reply, didnt even have time to stray from work to BZFlag!
the answer was ideal for me (if i can get it working!) as i prefer a little hands on tinkering than a do this, this, this, et voila.. format where you dont really learn a great deal. i was just not 2 sure in which direction to tinker.

im going to have a pop at this now so expect to hear from me again in the not too distant

Thanks again
 
  


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
problems accessing site with www.look.ca as isp ftcnt General 6 06-21-2004 04:42 PM
apache and http://www.domainname.com xviddivxoggmp3 Linux - Software 4 04-07-2004 11:14 AM
apache not handling www.myaddress.com tris Linux - General 1 10-12-2003 08:10 AM
www and apache plisken Linux - General 1 02-04-2002 02:04 PM
www with apache:HOW TO? plisken Linux - General 1 01-31-2002 03:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:34 AM.

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