PDA

View Full Version : DNS/website set-up question



Flying Mullet
11-25-2003, 06:34 PM
Right now when I type in my website's address into the browser, it goes to my site, but shows my ip address for the url rather than the website name. I registered my site name with GoDaddy, and changed the '@'/A name(whatever you call it) to my ip address. Then I contacted my ISP (who gave me my static ip address) and I had them "register" my ip address/url on their name servers. Then I specified these name servers in my GoDaddy account settings. I called my ISP about 24 hours ago to set up the name server part, so I'm wondering if I'm missing something or if I'm just being impatient?

Dr Unne
11-25-2003, 06:40 PM
Sometimes it can take longer than 24 hours for DNS info to propagate. What is the URL?

Flying Mullet
11-25-2003, 06:40 PM
www.figarocastle.com

Dr Unne
11-25-2003, 07:06 PM
That URL doesn't even resolve for me at all. I'd wait a while longer, but I'm no DNS expert, maybe someone else will know better.

crono_logical
11-25-2003, 10:40 PM
Are you running this on your PC?

I think you haven't configured Apache correctly, it doubt it should be saying localhost@localdomain either when you force a 404 :p

Edit the http.conf file (should be a shortcut in the Start Menu if you install it correctly in Windows) and enter the correct address after ServerName rather than an IP address. Might be some other things you need to tweak in there too, so take a while to read the comments in that file and adjust anything you think needs adjusting, then restart Apache when you're done and saved the file :p

Flying Mullet
11-25-2003, 10:57 PM
Yeah, I'm running this on a box at my house.

As of right now, all I did was install RedHat 7 as a web server and put my files in the /var/www/html/ folder. Then I set up my router to forward all requests to port 80 to my RedHat box.

crono_logical
11-25-2003, 10:59 PM
You'll have to ask Unne for the location of the httpd.conf file in linux then :p I'm pretty certain it's incorrectly configured though if stuff like that happens :p


EDIT: I guess you could try <code>ls -R httpd.conf</code> in a shell from / to find it but I still wouldn't know how to restart the service :p

Dr Unne
11-26-2003, 01:30 AM
I don't remember all the apache-specific things about Redhat. It's different in Gentoo. It's usually in /etc/httpd/conf/ or /etc/apache/conf or /etc/apache2/conf though. https://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/custom-guide/apacheconf.html