Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
for apache setup...can somebody maybe suggest a good one?
maybe on this fine site...
i came across this:
"I found this to be really disorganized, so I ended up putting mostly everything under one directory (I left the binaries in /usr/sbin):" is this absolutely necessary? or do you guys just leave things in their default location?
also this:
"And then to preserve the original Redhat file locations:"
again,is this very necessary...sorry guys just trying to setup
using best practices as i dont know squat about apache
thanks
oh just lastly,
i have bought a domain,just the domain,no hosting...how would i point DNS servers to my server?
The tutorial you're following is quite dated (1996).
You can use your favorite search engine to find a newer one, like this one that is specific for apache/wordpress on Centos 7
DNS setup is not done on your server at all.There are a few ways to do it, but usually it's done through whatever company you bought your domain from. Login to your account and locate their control panel for setting up your domain. You want to make an A Name record for your site. This should be the domain name you purchased, pointing to the IP address of your server.
For example:
Code:
example.com. A 93.184.216.34
Often, the domain name is abbreviated as just the at-symbol:
Code:
@ A 93.184.216.34
But interfaces differ, so do what your domain sales site tells you to.
You probably want to also create a CNAME record for the www subdomain:
Code:
www.example.com. CNAME example.com
Wait a bit for that to propagate. Verify it with the `host` command (you can do this on your server or from any machine running Linux):
Code:
host example.com
example.com has address 93.184.216.34
example.com has IPv6 address 2606:2800:220:1:248:1893:25c8:1946
Did the right IP address show up? If so, the whole world can now type in your domain name and reach your server.
It's Apache's job, of course, to listen for incoming visits, and to route those requests to the correct site. In other words, you need to set Apache up to listen for example.com (or whatever your domain name is) and send those requests to wordpress. I believe that is covered in the Wordpress documents. If not, come back here and give us an update and maybe we can point you in the right direction, or otherwise assist you with your httpd conf.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.