LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-30-2012, 09:49 AM   #1
SgtBlue
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Rep: Reputation: Disabled
Help on webserver setup


hi,

i'm a newbie at web admin and my really need your help guys on web server setup and installation. you see my boss just assigned mo do these task and don't have that much idea.. i do have some basic knowledge on linux installation etc.., but there is this problem that i cant solve.

This is the problem:

We have an old website which is managed on our office server using the public IP provided to us by the ISP. The old administrator just vanished and i was tasked to retrieve all the data on the website. The problem is, there is no password. So what i wanted to do is take down the site temporarily and setup an "under maintenance" site. The problem is, everytime i change the PC/server for the temporary site, the website's domain name is only accessible only for 1 day. After that you can't access the website using its domain name but only by its IP address. So for example after i change the PC the website "example.org" is accessible through its domain name, after the next day, you could only access the site through its IP address.

I'm using ubuntu for the temporary server and the old server is run on fedora.

My initial suspect is i need DNS setup. I used nmap and detected the old server has DNS. I already have setup bind9 but still it doesnt work.

does a webserver need a DNS server installed?(i mean for private servers) is this required?


thank you very much for your help..
 
Old 08-30-2012, 07:07 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,349

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
If the old server on Fedora is working, just leave it alone on the public internet.

Copy everything you need onto the new server and only have that server visible from within the private LAN.
For dev/testing purposes on the new server, just add eg _dev to the domain names and only have those available on the internal LAN DNS.
In fact, better is to only add them to your personal machine hosts file; that way no-one else can play with it whilst you are dev/testing.
DNS is not required in this case.

The public DNS is likely hosted elsewhere eg your ISP and will be updated regularly (eg daily ... hint) by them.

Incidentally, as this is for a work server, make sure you sue the LTS version of Ubuntu.
Note that Fedora was a really bad choice; that's the RH bleeding edge R&D distro; definitely not recommended for a work server.
Better would have been Centos (free version of RHEL).

You'll find this site full of free to read manuals/books www.linuxtopia.org

Last edited by chrism01; 08-30-2012 at 07:09 PM.
 
Old 08-31-2012, 01:46 PM   #3
SgtBlue
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
If the old server on Fedora is working, just leave it alone on the public internet.

Copy everything you need onto the new server and only have that server visible from within the private LAN.
For dev/testing purposes on the new server, just add eg _dev to the domain names and only have those available on the internal LAN DNS.
In fact, better is to only add them to your personal machine hosts file; that way no-one else can play with it whilst you are dev/testing.
DNS is not required in this case.

The public DNS is likely hosted elsewhere eg your ISP and will be updated regularly (eg daily ... hint) by them.

Incidentally, as this is for a work server, make sure you sue the LTS version of Ubuntu.
Note that Fedora was a really bad choice; that's the RH bleeding edge R&D distro; definitely not recommended for a work server.
Better would have been Centos (free version of RHEL).

You'll find this site full of free to read manuals/books www.linuxtopia.org
We will get rid of the old server pc so we definitely need to remove the physical server. What confuses me is why the Domain name is not accessible after 1 day if the old physical server is replaced. you encountered this kind of issue before?
 
  


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
setup webserver? claybv Linux - Newbie 6 11-11-2011 08:28 PM
DNS, Webserver setup kpsrinivas Linux - Server 4 09-29-2007 05:06 PM
Can someone help me setup webserver? kuplo Linux - Software 2 11-05-2005 06:24 PM
How to Setup Basic Webserver? simsjr Linux - Newbie 2 04-22-2004 04:21 PM
Webserver Setup bytebrowser Linux - Networking 6 06-21-2003 04:34 AM

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

All times are GMT -5. The time now is 11:49 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