Click to See Complete Forum and Search --> : Apache Config


JoeyJoeJo
02-06-2003, 04:44 PM
Okay, maybe im just blind. I have apache installed with webmin to configure it. How do I configure my ip address and my domain name? Do I have to manually configure the httpd.conf? Thanks for the help

geedee
02-06-2003, 04:51 PM
Yeah. Is pretty easy though. Can just search through httpd.conf for ServerName and stick your IP address or machine name in there, do an apachectl restart.

Should do the business.

JoeyJoeJo
02-06-2003, 06:33 PM
Im having some real problems. I registered www.trinitygroup.us thru Go Daddy. I thought I configured everything right, but when I go to www.trinitygroup.us, I still get a go daddy site. Heres what I did...

ServerName www.trinitygroup.us
ServerAdmin brian@trinitygt.com
Listen *; 80
Port 80

Then down farther I did...

NameVirtualHost 204.111.82.33
<VirtualHost 204.111.82.33>
ServerName www.trinitygroup.us
ServerAdmin brian@trinitygt.com
DocumentRoot /var/www/html
ServerSignature email
DirectoryIndex index.html index.htm index.php index.shtml
ServerSignature email
LogLevel warm
HostNameLookups off
</virtualhost>

So what is wrong? Thanks for the help

pl1ght
02-06-2003, 07:06 PM
It sounds like it has more to do with your DNS entries for your domain rather than your HTTPD conf. Especially if the domain is still resolving to a godaddy site.

digitized
02-06-2003, 08:43 PM
Yeah dns, like pl1ght said, your domain is still pointing to ->

Name Server: PARK1.GODADDY.COM
Name Server: PARK2.GODADDY.COM


Are you running your own dns??

ixthus
02-06-2003, 08:52 PM
Originally posted by JoeyJoeJo
Im having some real problems. I registered www.trinitygroup.us thru Go Daddy. I thought I configured everything right, but when I go to www.trinitygroup.us, I still get a go daddy site.

yup still pointed to godaddy. how long ago did you register? are you providing your own dns? or will somebody else?

JoeyJoeJo
02-07-2003, 06:17 PM
digitized, how did you find out that info? And, no I am not running my own DNS. I have 4 questions..

1) Do I need to run my own DNS?

2)If yes, can I use the same computer Im using for my web server?

3) If no, how would I approach getting the DNS changed?

4) If I can do both, which is easier? Would it cost me to use someone elses DNS?

geedee
02-07-2003, 07:07 PM
As I'm sure digitized is about to tell you, you can find out all the relevant info about a domain by doing a whois search. You can do this from a command line (I just tried this on my ultra and the .us tld isn't in the db), or on the web. You can see all the info on your domain here (http://swhois.netnation.com/cgi-bin/nn_swhois.cgi?template=nn_com&lang=en&language=en&login=no&market_area=1001&orderchoice=newdomain&package_name=&promo_code=&tc=&whois=trinitygroup.us), and as digitized says, it is still pointing at the godaddy nameservers.

So... to answer your questions

1) Do I need to run my own DNS?
If you just want to point that name at your machine, then no.

2)If yes, can I use the same computer Im using for my web server?
I wouldn't do that. Starting to get a bit complicated...

3) If no, how would I approach getting the DNS changed?
You need to change the information with your registrar, in this case I assume it is godaddy. You can either get them to point the name at the nameservers of your isp (if they are willing to put a dns entry for your site on their nameservers), or use someone like dyndns.org (http://www.dyndns.org). They allow you to use their nameservers to point a name at your own machines ip address (actually, i think there's a US$30 charge if u want to use your own name, as you do.). Particularly good if you've got a dynamic IP address.

4) If I can do both, which is easier? Would it cost me to use someone elses DNS?

Definitely easier/better/more reliable to use someone elses dns. Contact your isp to see what they say about putting an entry on their nameservers for you. They may tell you where to go/want to charge you but its worth asking. I know eclipse.co.uk in the UK are happy to do this.

Hope this answers your questions..

ixthus
02-07-2003, 08:38 PM
Originally posted by geedee
You need to change the information with your registrar, in this case I assume it is godaddy. You can either get them to point the name at the nameservers of your isp (if they are willing to put a dns entry for your site on their nameservers), or use someone like dyndns.org (http://www.dyndns.org). They allow you to use their nameservers to point a name at your own machines ip address (actually, i think there's a US$30 charge if u want to use your own name, as you do.). Particularly good if you've got a dynamic IP address.

I used verisign [internic ] until I found www.dotster.com. which did my registration and dns for $24.00 (US) for a year. dotster had me registerd almost immediatly and pointing to my server in 48hrs. I've been hosting w/ virtual host no problem since.

www.SheilaCares.com for my wifes business and
www.divinedestiny.org for my daughter growing expenses.

Dust753
02-08-2003, 09:09 PM
How do you get the index.html to show instead of the
index of / page?
Because I'm having touble with it, on my own server.

http://www.Burtch.homeip.net

Also how do you get a second VHost to show up off of the same ip address?

PAEricksen
02-09-2003, 02:09 AM
I use zoneedit.com for my hosting, hasn't cost me anything in over three years.

---