# Can't index an intranet domain website - Enterprise Search 7.15

**URL:** <https://discuss.elastic.co/t/cant-index-an-intranet-domain-website-enterprise-search-7-15/288352>\
**Category:** Elastic Search\
**Tags:** docker\
**Created:** [November 3, 2021, 5:25pm UTC](https://discuss.elastic.co/t/cant-index-an-intranet-domain-website-enterprise-search-7-15/288352 "2021-11-03T17:25:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![baseely](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/baseely/32/92216_2.png) [@baseely](https://discuss.elastic.co/u/baseely)\
**Post date:** [November 3, 2021, 5:25pm UTC](https://discuss.elastic.co/t/cant-index-an-intranet-domain-website-enterprise-search-7-15/288352/1 "2021-11-03T17:25:17Z")

</div>

Team,

I'm trying to index a company's intranet domain but only one document is indexed. I have my setup using **docker-compose** and have these services (Elasticsearch, Enterprise-Search, and Kibana).

A thing to note that when I cURL to the domain from a VM that is on the same network the result is **200 OK** but there is no complete HTML page instead it contains more JavaScript code.

Any direction what would be the problem ? My guess that it may be restricted from the company to crawl the contents or it may be related to the authentication ?

Not sure how to proceed or what settings needs to be adjusted to index the data.  
Kind Regards.

---

<div class="post-metadata">

**Author:** ![ross.bell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ross.bell/32/77559_2.png) [@ross.bell](https://discuss.elastic.co/u/ross.bell)\
**Post date:** [November 3, 2021, 6:15pm UTC](https://discuss.elastic.co/t/cant-index-an-intranet-domain-website-enterprise-search-7-15/288352/2 "2021-11-03T18:15:58Z")

</div>

Hey @baseely,

> A thing to note that when I cURL to the domain from a VM that is on the same network the result is 200 OK but there is no complete HTML page instead it contains more JavaScript code.

This sounds like it's probably the cause. The App Search crawler will analyze and index the HTML response for a given page, but it wont execute Javascript or other dynamic content when crawling a domain. That functionality is absolutely on the future roadmap.

Ross

---

<div class="post-metadata">

**Author:** ![baseely](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/baseely/32/92216_2.png) [@baseely](https://discuss.elastic.co/u/baseely)\
**Post date:** [November 3, 2021, 7:12pm UTC](https://discuss.elastic.co/t/cant-index-an-intranet-domain-website-enterprise-search-7-15/288352/3 "2021-11-03T19:12:44Z")

</div>

Thanks Ross for your reply.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2022, 8:32am UTC](https://discuss.elastic.co/t/cant-index-an-intranet-domain-website-enterprise-search-7-15/288352/4 "2022-11-04T08:32:56Z")

</div>

Closed on November 4, 2022, 8:32am UTC


