Change website IP address

fenton06

2[H]4U
Joined
Mar 28, 2003
Messages
2,138
Hey guys, I'm new to the whole web development field and I have a slight problem. I am now in charge of a club's website on my campus, and the server did not restart correctly after I restarted it remotely. Anyway, long story short, the IP that the website used to use is now taken by another computer on the school's network.

Main question: How do I change th IP address the website points to?

Webserver specs: Apache on Fedora 9
 
Change the DNS server to point to the new IP address is what it sounds like you mean to do. Unless you hard coded the address into your site, which sounds like a bad idea to me.
 
I didn't develop the site, I inherited it from a conglomeration of people writing it to make due, so a (major) overhaul is in order.

I don't think I have access to the DNS server. I can do web development ok, but this is a whole new world to me. I never really got how everything on a network works.
 
here is the output of the host command

Code:
[#####@##### ~]$ host sae.stuorg.iastate.edu
sae.stuorg.iastate.edu is an alias for sae.me.iastate.edu.
sae.me.iastate.edu has address xxx.xxx.xxx.xxx

I just want to point it to the new IP address of the server
 
Which IP address was taken by another machine? The public IP address or the local campus LAN IP address?
 
Then you would need to track down who has access to change sae.stuorg.iastate.edu to your new ip.

There is a server running somewhere that controls this and will route people to your server. It may be running on your machine even, but seeing as how you are running a site in an college campus, there is probably an admin in your main computer ops that has this ability.
 
You need to either be able to change the IP address of the server in question to the old IP address or change the DNS entry.
 
aha... I will try and get the ip on the server changed... that will be easier I think
 
Does the server in question use DHCP?

If so, I'd recommend switching to a static IP address outside of the DHCP server pool and changing the DNS to point to the new static IP.
 
I don't know how to change the DNS, and I'm not even sure if I have the access to do that.

Currently working on a static IP for the machine.
 
not that it really matters, but just thought I would let everyone know I got it figured out and the website is back up, with LOTS of broken links for some reason... Oh well, a new one is being designed as we speak.
 
Back
Top