[split] apache setup

Conventional discussion only. No politics, religion and other topics that might cause conflicts.
Strictly appropriate discussions only, meaning spammers and trolls will be banned on first offense.

Moderator: Moderators

Postby thescorpion on Wed Dec 08, 2004 5:17 pm

[quote user="TheMachine" post="9181"]I set up the server correctly however when I come to install phpBB2 it cannot connect to the database???
DB Type: MySQL 4
Host: localhost
Server host name: phpbb
DB Username: root
DB password: "blank"

All other settings by default.

I have set up a database, copied all files to the instructed directories.

Any ideas chaps?

Also, how do I change CHMOD from a local host?[/quote]

Try using root as the password .. it worked for me :wink:

viewtopic.php?t=1572
"God put me on this Earth to accomplish a certain number of things. Right now, I am so far behind I will never die."
Have you installed eXtreme Styles mod yet
User avatar
thescorpion
Registered User
Registered User
 
Posts: 107
Joined: Mon Nov 22, 2004 8:21 pm
Location: A Pind in Punjab

Postby TheMachine on Wed Dec 08, 2004 5:22 pm

Okay. uninstalled everything and rebooted. I've downloaded and installed the latest MySQL. All is working fine. Downloaded and installed the UniServer, all is fine. I've started everything and created a database. Tried to connect but still cannot connect. I've checked for the port 3309 but it's still not there.
When I try to install phpBB2 I get this error:

Access denied for user: 'root@localhost' (Using password: NO) in W:\www\phpbb2\db\mysql4.php on line 48

How am I going to solve this problem?
User avatar
TheMachine
Registered User
Registered User
 
Posts: 428
Joined: Sat Dec 04, 2004 8:59 pm
Location: Manchester

Postby TheMachine on Wed Dec 08, 2004 6:11 pm

Yes that worked. Thanks for that everybody. Thanks Scorpion
User avatar
TheMachine
Registered User
Registered User
 
Posts: 428
Joined: Sat Dec 04, 2004 8:59 pm
Location: Manchester

Postby TheMachine on Wed Dec 08, 2004 6:19 pm

Next question... How do I go about linking a domain name to my server? How do I make or get a domain name? How does that work?
User avatar
TheMachine
Registered User
Registered User
 
Posts: 428
Joined: Sat Dec 04, 2004 8:59 pm
Location: Manchester

Postby Greg on Wed Dec 08, 2004 6:22 pm

You can buy domain names from

www.godaddy.com
www.enom.com

There are lots to chose from.

Greg
User avatar
Greg
Registered User
Registered User
 
Posts: 651
Joined: Wed Jul 07, 2004 3:20 pm
Location: Yorkshire, United Kingdom

Postby TheMachine on Wed Dec 08, 2004 6:28 pm

So I buy one, then how do I link it to my server so people can access the site on my localhost? And if I buy a domain, how would I go about setting up subdomains? Let's say I want to host a couple of sites but don't want to buy two domains, could I buy a domain, lets say MachinesHost.com then make subdomains for each of the two sites without extra cost?
User avatar
TheMachine
Registered User
Registered User
 
Posts: 428
Joined: Sat Dec 04, 2004 8:59 pm
Location: Manchester

Postby PostBot on Wed Dec 08, 2004 7:55 pm

You can use one of free dns services. I recommend everydns.net (I'm using it for some of my domains, including phpbbstyles.com instead of hoster's dns, so if there are problems with this server users can always resolve domain's ip. helps a lot when server is slow).

When registering domain (or later when editing domain data) set nameservers to ns1.everydns.net and ns2.everydns.net, then register on everydns.net, add new domain to your setup and create A record for yourdomain.com and www.yourdomain.com with your home computer's IP.

If your IP is dynamic then get some dynamic dns like no-ip.com and in everydns.com setup CNAME instead of A record pointing to yourdomain.no-ip.com instead of your IP.
Do NOT pm me, I don't visit this forum anymore, don't own it, don't provide any support and don't moderate.
User avatar
PostBot
Moderator
Moderator
 
Posts: 10659
Joined: Sat Aug 02, 2003 3:52 pm
Location: Mars

Postby TheMachine on Wed Dec 08, 2004 8:01 pm

Something just rushed over my head there... Ah it was your message!! Remember mate, I'm new to all this. Now can somebody translate that into rookie terms for me please.

What do I have to do to give my localhost site an address people can type in to access the site from my server?
User avatar
TheMachine
Registered User
Registered User
 
Posts: 428
Joined: Sat Dec 04, 2004 8:59 pm
Location: Manchester

Postby PostBot on Wed Dec 08, 2004 8:23 pm

ok.

1. do you have dynamic or static ip? does your computer's ip changes?

2. go to everydns.net and sign up there

3. add your domain. use basic add function, not advanced.

4. when registering domain at godaddy enter ns1.everydns.net and ns2.everydns.net as name servers. it is an option on the bottom-right of registration form above checkbox that sais something like "i agree to terms.. blah blah blah"

5. if you have static ip (and you'd better have one. otherwise your forum will be down a lot because users might not be able to refresh ip fast enough) on everydns.net select your domain that you have added and on right you'll see 2 records for your domain. delete both records and add these 2 records:
yourdomain.com A 1.2.3.4
*.yourdomain.com A 1.2.3.4

and in those records replace "yourdomain.com" with your domain name and 1.2.3.4 with your ip.


5a. if you have dynamic ip then go to no-ip.com and follow their simple instuctions on how to setup dynamic domain. create some domain with them like domain1.no-ip.com. then go to everydns.net and follow instructions above (in point 5), except that you should add records like this:
yourdomain.com CNAME domain1.no-ip.com
*.yourdomain.com CNAME domain1.no-ip.com

and in those records replace "yourdomain.com" with your domain name and domain1.no-ip.com with your no-ip domain name.

Then, after about 24-48 hours (that's how much it takes new name servers to propagate) you'll be able to use your domain name.
Do NOT pm me, I don't visit this forum anymore, don't own it, don't provide any support and don't moderate.
User avatar
PostBot
Moderator
Moderator
 
Posts: 10659
Joined: Sat Aug 02, 2003 3:52 pm
Location: Mars

Postby thescorpion on Wed Dec 08, 2004 8:59 pm

Wow .. great post CyberAlien ..

I bet no one could have answered it better .
"God put me on this Earth to accomplish a certain number of things. Right now, I am so far behind I will never die."
Have you installed eXtreme Styles mod yet
User avatar
thescorpion
Registered User
Registered User
 
Posts: 107
Joined: Mon Nov 22, 2004 8:21 pm
Location: A Pind in Punjab

Postby TheMachine on Wed Dec 08, 2004 10:38 pm

Yes that's all fine but how do I get a domain name?????
User avatar
TheMachine
Registered User
Registered User
 
Posts: 428
Joined: Sat Dec 04, 2004 8:59 pm
Location: Manchester

Postby PostBot on Wed Dec 08, 2004 10:49 pm

http://registrar.godaddy.com - choose domain name and buy.
Do NOT pm me, I don't visit this forum anymore, don't own it, don't provide any support and don't moderate.
User avatar
PostBot
Moderator
Moderator
 
Posts: 10659
Joined: Sat Aug 02, 2003 3:52 pm
Location: Mars

Postby TheMachine on Wed Dec 08, 2004 10:51 pm

When I tried Apache a few weeks back, upon installation it asked me to create a domain name. Assuming I'd done that would I still need to buy one?? And is there something I can do to make my IP static?
User avatar
TheMachine
Registered User
Registered User
 
Posts: 428
Joined: Sat Dec 04, 2004 8:59 pm
Location: Manchester

Postby PostBot on Wed Dec 08, 2004 10:54 pm

ohh... so that's why you wanted to buy domain name. you don't have to. you can simply set apache to "localhost"
Do NOT pm me, I don't visit this forum anymore, don't own it, don't provide any support and don't moderate.
User avatar
PostBot
Moderator
Moderator
 
Posts: 10659
Joined: Sat Aug 02, 2003 3:52 pm
Location: Mars

Postby TheMachine on Wed Dec 08, 2004 11:04 pm

Huh? Please explain
User avatar
TheMachine
Registered User
Registered User
 
Posts: 428
Joined: Sat Dec 04, 2004 8:59 pm
Location: Manchester

PreviousNext

Return to Regular Discussion

Who is online

Users browsing this forum: No registered users and 2 guests