I have a few question on how to setup my new domain with webfaction. I want to make sure I capture all traffic from both www.mydomain.com and mydomain.com. Questions are: 1) It is best to point to a naked domain (no www) or to www.mydomain.com? I believe this is just a personal preference at the moment and I prefer putting all the traffic to www. 2) I'm a little confused how to setup my domain properly, I don't want to duplicate content and get penalized with Google. Currently I have a CNAME record on my naked domain pointing to www.mydomain.com. I believe this is wrong and I think I need to be using an A record this. To add the A record with Webfaction under domains/websites I select my naked entry, then under hosting I select external, then I add the IP found on the websites tab? 3) I read about setting up a 301 redirect but I'm confused if that's a step I need to take if I point the A record on my naked domain correctly? Thanks! asked 27 Nov '13, 15:31 Chops |
answered 27 Nov '13, 17:38 johns thanks for the help, I'm working on getting this running today.
(29 Nov '13, 11:32)
Chops
|
I ran into a snag, I created the .htaccess file and added it to the server but I can't seem to see it or view while logged into the server (either SFTP or SSH). Do I need to create the file on the server? What I did was create the file htaccess on my desktop, uploaded it, then changed the name to .htaccess then it disappeared. answered 29 Nov '13, 12:00 Chops Your ftp client would need to show hidden files. In addition to see the files via ssh you can use ll -a. You should be able to upload the file as you described. If you are still having issues I would suggest looking at the error log found in the following location to see the errors /home/<username>/logs/frontend/error_<websitename>_php.log
(29 Nov '13, 12:37)
aaront ♦♦
|