# SparkPost is asking me to verify domain ownership

**URL:** https://meta.discourse.org/t/sparkpost-is-asking-me-to-verify-domain-ownership/96736
**Category:** Self-hosting
**Created:** [9월 8, 2018, 12:24오후 UTC](https://meta.discourse.org/t/sparkpost-is-asking-me-to-verify-domain-ownership/96736 "2018-09-08T12:24:12Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![CharlesD](https://avatars.discourse-cdn.com/v4/letter/c/8491ac/32.png) [@CharlesD](https://meta.discourse.org/u/CharlesD)
#### Post date: [9월 8, 2018, 12:24오후 UTC](https://meta.discourse.org/t/sparkpost-is-asking-me-to-verify-domain-ownership/96736/1 "2018-09-08T12:24:12Z")

</div>

SparkPost is asking me to verify ownership and have NO idea how to upload the txt and how to create a subdomain within Discourse , where are the www folder where I can upload the txt.

I’m used to Apache, Nginx, Vbulletin, IPBoard, SMF and such totally new to Docker.

How do I go about it, I am currently only stuck at the " Register Admin Account" stage because I can’t recieve the confirmation email.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [9월 8, 2018, 1:15오후 UTC](https://meta.discourse.org/t/sparkpost-is-asking-me-to-verify-domain-ownership/96736/2 "2018-09-08T13:15:17Z")

</div>

They want you to create a txt record - it’s not a text file, it’s a special kind of DNS entry to prove the domain is under your control.

Who do you use for DNS?

---

<div class="post-metadata">

### Author: ![CharlesD](https://avatars.discourse-cdn.com/v4/letter/c/8491ac/32.png) [@CharlesD](https://meta.discourse.org/u/CharlesD)
#### Post date: [9월 8, 2018, 4:31오후 UTC](https://meta.discourse.org/t/sparkpost-is-asking-me-to-verify-domain-ownership/96736/3 "2018-09-08T16:31:18Z")

</div>

I fixed the txt and dns issue.  
still need to know how to accsess it from sftp.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [9월 8, 2018, 5:11오후 UTC](https://meta.discourse.org/t/sparkpost-is-asking-me-to-verify-domain-ownership/96736/4 "2018-09-08T17:11:36Z")

</div>

Assuming you’re using DigitalOcean (because you haven’t said otherwise) it’s the same credentials as you used for SSH.

---

<div class="post-metadata">

### Author: ![CharlesD](https://avatars.discourse-cdn.com/v4/letter/c/8491ac/32.png) [@CharlesD](https://meta.discourse.org/u/CharlesD)
#### Post date: [9월 8, 2018, 6:48오후 UTC](https://meta.discourse.org/t/sparkpost-is-asking-me-to-verify-domain-ownership/96736/5 "2018-09-08T18:48:52Z")

</div>

I mean the actual webserver folder.. u know like Apache is www/ , nginx is /nginx/html.

I think I am going to have to slowly learn Docker and Ruby in my extra time.

Thanks for your answers.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [9월 8, 2018, 7:31오후 UTC](https://meta.discourse.org/t/sparkpost-is-asking-me-to-verify-domain-ownership/96736/6 "2018-09-08T19:31:36Z")

</div>

I don’t understand what you’re doing. To verify domain ownership with sparkpost you don’t need your webserver and definitely no knowledge of Ruby or docker…

---

<div class="post-metadata">

### Author: ![CharlesD](https://avatars.discourse-cdn.com/v4/letter/c/8491ac/32.png) [@CharlesD](https://meta.discourse.org/u/CharlesD)
#### Post date: [9월 8, 2018, 7:45오후 UTC](https://meta.discourse.org/t/sparkpost-is-asking-me-to-verify-domain-ownership/96736/7 "2018-09-08T19:45:54Z")

</div>

already did the sparkpost, I also needed to upload a an actual txt and html file to verify domain ownership for a load test service.  
would be nice if anyone would tell me if its even possible, searched google and come up with nothing.  
About the Ruby and Docker, never hurts to learn a new skill and maybe one day I might be able to contribute to this opensource software and community.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [9월 8, 2018, 8:12오후 UTC](https://meta.discourse.org/t/sparkpost-is-asking-me-to-verify-domain-ownership/96736/8 "2018-09-08T20:12:39Z")

</div>

Many years ago it was typical that HTTP paths paralleled file system paths. eg. for a URL like  
`.../widgets/green/round.html`  
the files on the server might be like

```plaintext
  /widgets
    widgets.css 
    widgets.js 
    /green
      round.html
      square.html 

```

But these days quite often the HTTP paths do not correspond to file system paths, but instead serve content based on routing.

I’m fairly certain I have seen discussion here about having a file system folder that could be accessed with an HTTP request, but I don’t recall when or where.

IIRC, it requires creating a route for it.

Does sparkpost not have another way to verify site ownership, eg. entering a hash value in a meta tag that could be inserted into your customize head?

---

<div class="post-metadata">

### Author: ![CharlesD](https://avatars.discourse-cdn.com/v4/letter/c/8491ac/32.png) [@CharlesD](https://meta.discourse.org/u/CharlesD)
#### Post date: [9월 9, 2018, 6:47오전 UTC](https://meta.discourse.org/t/sparkpost-is-asking-me-to-verify-domain-ownership/96736/9 "2018-09-09T06:47:16Z")

</div>

I have already verified sparkpost and everything is working on Discourse.  
what I need is the folder location to the webserver Discourse uses. like how Apache uses /www and nginx uses nginx/html.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [9월 9, 2018, 6:57오전 UTC](https://meta.discourse.org/t/sparkpost-is-asking-me-to-verify-domain-ownership/96736/10 "2018-09-09T06:57:22Z")

</div>

So you are trying to serve a static page in addition to Discourse in order to demonstrate server ownership?

Coming at your challenge from a different angle I wonder if this would help?:

> [@ProCourse Static Pages](https://meta.discourse.org/t/procourse-static-pages/69698):
>
> I’ve been doing freelance Discourse customization as my primary gig for almost a year at this point. And one of the most common questions I get is about static pages. “Can I just create a static sales page?” “Where’s a good place to put a FAQ without a discussion around it?” You can likely argue the validity of these questions in most scenarios. The main response being “just close the topic.” But that doesn’t cut it for most. Thus, I decided to create this plugin to make it possible. It’s pret…

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [9월 9, 2018, 7:01오전 UTC](https://meta.discourse.org/t/sparkpost-is-asking-me-to-verify-domain-ownership/96736/11 "2018-09-09T07:01:34Z")

</div>

Anything you put into `/var/www/discourse/public` inside the `app` container will be available until the next container rebuild. Persisting the static content is a matter of modifying the `app.yml`.
