# How do I create a htaccess file?

**URL:** <https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197>\
**Category:** RapidWeaver Classic\
**Created:** [June 24, 2022, 7:05pm UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197 "2022-06-24T19:05:28Z")\
**Posts on this page:** 18\
**Page:** 2

<div class="post-metadata">

**Author:** ![manofdogz](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/manofdogz/32/26314_2.png) [@manofdogz](https://forums.realmacsoftware.com/u/manofdogz)\
**Post date:** [June 29, 2022, 9:23pm UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/21 "2022-06-29T21:23:58Z")

</div>

Get something in an email or live chat from GoDaddy - anything they write rather than say over the phone. I’d be interested to see what exactly they are telling you to do. Incidentally, Your email is NOT dependent upon the website - it can run perfectly well without a website being active.

I agree it sounds more like some DNS issue. Is the domain name hosted registered with Go Daddy or is it registered somewhere else? If somewhere else, you need to access it and point the name servers to Go Daddy.

---

<div class="post-metadata">

**Author:** ![charlescrawford](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/charlescrawford/32/3856_2.png) [@charlescrawford](https://forums.realmacsoftware.com/u/charlescrawford)\
**Post date:** [June 30, 2022, 4:09am UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/22 "2022-06-30T04:09:48Z")

</div>

OK so godaddy is no longer doing email support. The domain name for the site is [www.oxbowfarmcolorado.com](http://www.oxbowfarmcolorado.com) the primary email is [charles@oxbowfarmcolorado.com](mailto:charles@oxbowfarmcolorado.com) and the secondary (my wifes) is [elizabeth@oxbowfarmcolorado.com](mailto:elizabeth@oxbowfarmcolorado.com)

This is what my last message from support chat

As I can see, there is no index file nor any content in nor .htaccess, so you need to make changes according to your website content.

---

<div class="post-metadata">

**Author:** ![DLH](https://avatars.discourse-cdn.com/v4/letter/d/b5e925/32.png) [@DLH](https://forums.realmacsoftware.com/u/DLH)\
**Post date:** [June 30, 2022, 6:25am UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/23 "2022-06-30T06:25:54Z")

</div>

**DNS**  
GoDaddy is now the registrar for your domain. They have full control over it and the DNS settings.

[https://www.nslookup.io/domains/oxbowfarmcolorado.com/dns-records/](https://www.nslookup.io/domains/oxbowfarmcolorado.com/dns-records/)

**Email**  
The first thing I see in those results is that your MX record (this is what a mail server will look for to know what server to deliver email for your domain to) is pointing to: `mail.oxbowfarmcolorado.com`

_However, they do not have a DNS record setup to point that DNS name to an IP address._

[https://www.nslookup.io/domains/mail.oxbowfarmcolorado.com/dns-records/](https://www.nslookup.io/domains/mail.oxbowfarmcolorado.com/dns-records/)

When you do a look up for the IP address of `mail.oxbowfarmcolorado.com` no IP address is returned. There should be an ‘A’ record with it’s IP address. This is why your email is not working. You need them to add an ‘A’ record pointing `mail.oxbowfarmcolorado.com` to the IP address of their mail server(s). They should know how to do this. It should have been done when they transferred the domain to their system.

**Website**  
They did setup a DNS record for `www.oxbowfarmcolorado.com` which points to an IP address. When I try to access your web page, I get a permissions error. Where you able to upload your website to their server? Can you login to their Control Panel and verify that there is an index.html or index.php file in the `public_html` directory in the root of your account?

---

<div class="post-metadata">

**Author:** ![charlescrawford](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/charlescrawford/32/3856_2.png) [@charlescrawford](https://forums.realmacsoftware.com/u/charlescrawford)\
**Post date:** [June 30, 2022, 4:57pm UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/24 "2022-06-30T16:57:40Z")

</div>

> [@DLH](#):
>
> is an index.html or index.php file in the `public_html` directory in the root of your account?

They said they updated the email issue and that it takes 1 hour to 48 hours to update globally. When asked about the website issue itself this is the response I got.

Public\_html is root of directory could you please ask your developer to reach us so it will be clear to him as well.

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [June 30, 2022, 6:37pm UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/25 "2022-06-30T18:37:51Z")

</div>

Why do they think you have a developer? You built the site yourself, right? Just tell them you are the developer.

DNS changes can take up to 48 hours to propagate to all the name servers on the Internet. Typically you can see changes within a couple of hours.

Do you have multiple domains on this GoDaddy account? I don’t use GoDaddy but different web companies have different requirements as to where you publish the root directory too.

What path is GoDaddy telling you to use to publish the site too? Is it public\_html or something else? If you have multiple domains on the same hosting account, each domain would need a different path.

---

<div class="post-metadata">

**Author:** ![charlescrawford](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/charlescrawford/32/3856_2.png) [@charlescrawford](https://forums.realmacsoftware.com/u/charlescrawford)\
**Post date:** [July 1, 2022, 3:00am UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/26 "2022-07-01T03:00:25Z")

</div>

Doug,  
Your guess is as good as mine. They know I use RW to edit our site. I have told them this since we switched things over. Good news is the email is now getting sorted out. I am now starting to get email through this domain

Website:  
We do have multiple sites… this is just the first site we have fought with. Yes on the Godaddy system it is a public\_html directory. In this directory there is a directory for [oxbowfarmcolorado.com](http://oxbowfarmcolorado.com) and [crawfordimaging.com](http://crawfordimaging.com) ( our other site that we have not started messing with yet)

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [July 1, 2022, 2:47pm UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/27 "2022-07-01T14:47:40Z")

</div>

Again, I don’t use GoDaddy, but I think the way they operate is similar to other hosting companies.

There’s often what they call a “primary” or “main” domain. That domain will sometimes point to the public\_html directory(folder). There’s no sub-directory used for that domain.

Looks like you have two sub-directories in the main public\_html directory. They are named the same as two domain names.

So take them one at a time and repeat.  
For: `http://oxbowfarmcolorado.com/` what’s in the directory with that name? There should be an index.html or index.php file. If there’s not then you are publishing to the wrong path.

As I’ve always said for most people the easiest way to set the publishing path in RapidWeaver is to _clear out the path_ in RapidWeavers publishing settings and choose the Browse button, then select the directory from the presented window. That way RapidWeaver will figure out for you what slashes `/` you need where.

---

<div class="post-metadata">

**Author:** ![jeffhrsn](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jeffhrsn/32/29711_2.png) [@jeffhrsn](https://forums.realmacsoftware.com/u/jeffhrsn)\
**Post date:** [July 2, 2022, 7:29pm UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/28 "2022-07-02T19:29:39Z")

</div>

Ugh…was on GoDaddy once upon a time. What a nightmare that place is. I second the suggestion to go with Chilidog Hosting. WAAAAY better and you won’t get support people who CLEARLY don’t know what they’re doing.

---

<div class="post-metadata">

**Author:** ![charlescrawford](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/charlescrawford/32/3856_2.png) [@charlescrawford](https://forums.realmacsoftware.com/u/charlescrawford)\
**Post date:** [July 5, 2022, 7:03pm UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/29 "2022-07-05T19:03:16Z")

</div>

Is there a way I can post a screen shot of the public\_html? That way you guys can see what I see.

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [July 5, 2022, 9:58pm UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/30 "2022-07-05T21:58:55Z")

</div>

Here’s information on taking screenshots on your Mac.

> **[Take a screenshot on your Mac](https://support.apple.com/en-us/HT201361)**
>
> You can capture the entire screen, a window, or just a portion of the screen.

You should be able to drag the screenshots into the edit area (where you typed the reply.

If that doesn’t work you could place them in a folder on Cloud, onedrive or Dropbox a make it a sharable link.

You should be able to just drag them through. You might have to do them one at a time because there are file size limits.

Also, some screenshots of the publishing settings might be helpful.

---

<div class="post-metadata">

**Author:** ![charlescrawford](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/charlescrawford/32/3856_2.png) [@charlescrawford](https://forums.realmacsoftware.com/u/charlescrawford)\
**Post date:** [July 6, 2022, 2:26am UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/31 "2022-07-06T02:26:53Z")

</div>

> [@teefers](#):
>
> [Take a screenshot - Apple Support](https://support.apple.com/en-us/HT201361)

 ![Screen Shot 2022-07-05 at 8.23.31 PM](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/8/a/8a8217565025aebb013317a926c331e66ae95ed4.jpeg)

Here is a screen shot of the public\_html

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [July 6, 2022, 12:50pm UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/32 "2022-07-06T12:50:15Z")

</div>

> [@teefers](#):
>
> [http://oxbowfarmcolorado.com/](http://oxbowfarmcolorado.com/)

Assuming we are still talking about _`oxbowfarmcolorado.com`_, will need to see what’s inside that directory, looks like the fourth directory down on your screenshot.

---

<div class="post-metadata">

**Author:** ![charlescrawford](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/charlescrawford/32/3856_2.png) [@charlescrawford](https://forums.realmacsoftware.com/u/charlescrawford)\
**Post date:** [July 6, 2022, 2:58pm UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/33 "2022-07-06T14:58:45Z")

</div>

Doug so inside that folder is another oxbow folder. If I click on that folder this is what I see.

 ![Screen Shot 2022-07-06 at 8.56.59 AM](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/3/e/3ed4922b6885bf61d6e66f9d5af0f2518e6a5892.jpeg)  
 ![Screen Shot 2022-07-06 at 8.56.21 AM](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/a/1/a1f7664b752ee694cd80cd8f9ed2f26abe558b3c.jpeg)

---

<div class="post-metadata">

**Author:** ![charlescrawford](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/charlescrawford/32/3856_2.png) [@charlescrawford](https://forums.realmacsoftware.com/u/charlescrawford)\
**Post date:** [July 6, 2022, 2:59pm UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/34 "2022-07-06T14:59:25Z")

</div>

Bottom photo is first

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [July 6, 2022, 5:13pm UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/35 "2022-07-06T17:13:56Z")

</div>

okay,

> [@charlescrawford](#):
>
> Doug so inside that folder is another oxbow folder.

I think this problem.

It sounds like you have two oxbow directories?

As I said before I don’t use GoDaddy(and never would), and I don’t know what plan (Linux, cPanel, Plex, Windows, etc. etc) you are using, but you need to find the path that for the document root FOR THAT DOMAIN.  
Here’s something from there help area for Linux cPanel:

[Add addon domains to host multiple websites in Linux Hosting | Linux Hosting (cPanel) - GoDaddy Help US](https://www.godaddy.com/help/add-addon-domains-to-host-multiple-websites-in-linux-hosting-8877)

Most hosting companies point the domain root to a sub directory with the same name.

So my guess is that in your publishing path you some how have added an extra sub directory called “OxbowSite”.

It’s hard to say for sure as I can’t see the full path in your screenshots.

So what I would do to try and fix this is the following:

1. double check the document root with the domain records at go daddy.
2. Delete the sub directory called “OxbowSite” unless that’s were GoDaddy is pointing at. I don’t know where this directory name came from, but I think that’s the problem
3. In RapidWeaver goto publishing settings and **CLEAR THE PATH of EVERYTHING) _make it empty_.**
4. Hit the browse button (next to the now empty path.
5. You should see the public\_html directory within that directory. You should see the sub-directory that matches the name for the document root.
6. **SELECT** That sub directory (Don’t type it).
7. Republish all files.

---

<div class="post-metadata">

**Author:** ![charlescrawford](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/charlescrawford/32/3856_2.png) [@charlescrawford](https://forums.realmacsoftware.com/u/charlescrawford)\
**Post date:** [July 6, 2022, 10:15pm UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/36 "2022-07-06T22:15:56Z")

</div>

You are The Man !!! That worked! Thank You!

---

<div class="post-metadata">

**Author:** ![BenjaminNoah560](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@BenjaminNoah560](https://forums.realmacsoftware.com/u/BenjaminNoah560)\
**Post date:** [July 26, 2022, 9:31pm UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/37 "2022-07-26T21:31:22Z")

</div>

There won’t be any issues if the htaccess file is empty by itself. I can only assume that the host is mandating that you add something to the htaccess file to fix a problem the site would otherwise have[.](https://badbunnymerchshop.com/) But there are several possibilities for this. You must enquire as to what precise problem they perceive with an empty htaccess file. Someone here will be able to offer the code to insert in the htaccess file once you are aware of what they want you to address.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [February 5, 2024, 11:35am UTC](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197/38 "2024-02-05T11:35:13Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

[Previous page](https://forums.realmacsoftware.com/t/how-do-i-create-a-htaccess-file/42197.md?page=1)
