# Publishing 1C on IIS and Apache: step by step and common errors

Source: https://checkcraft.ru/en/guides/1c-web-publish.html · updated 2026-11-24

How to publish a 1C 8.3 database on IIS or Apache for the web client and HTTP services: the web extension module…

Practical workflow

Checkcraft is a desktop app for checking APIs and logs without code, with a free edition. [Download, no sign-up →](https://checkcraft.ru/en/download-checkcraft.html#free-download)

Publishing links a web server to a 1C database: after it the database opens in a browser and HTTP services answer under /hs/. You need three things: an IIS or Apache web server, a 1C web extension module of the same bitness, and the publication itself from the Designer or with webinst. Below are the steps, checks and errors.

Checkcraft · 24 November 2026

Get help with your first test →

## What you need before publishing

A web server: IIS on Windows or Apache 2.4 on Windows and Linux. The web server extension module installs with the 1C platform and must be selected during setup. The module and web server bitness must match: a 64-bit Apache will not load a 32-bit module. For IIS enable the ISAPI components.

## Publishing from the Designer

Run the Designer as administrator and open Administration and Publish to web server. Set the publication name, which becomes part of the address, choose the web server and folder. Tick what to publish: client application access, HTTP services by default, and web services and OData if needed.

Repeating checks like this by hand? Checkcraft saves them and reruns them in one click. [Download Free →](https://checkcraft.ru/en/download-checkcraft.html#free-download)

## How to check the publication works

Open http://server/publication_name in a browser: the database should load in the web client. Check an HTTP service with a request to http://server/publication_name/hs/root_url/... using curl or an API client. If the browser opens the database but /hs/ returns 404, HTTP services are not published.

## Publishing with webinst

```
# IIS, база на сервере 1С
webinst -publish -iis -wsdir trade -dir "C:\inetpub\wwwroot\trade" -connstr "Srvr=srv1c;Ref=trade;"

# Apache 2.4 на Linux
webinst -publish -apache24 -wsdir trade -dir "/var/www/trade" -connstr "Srvr=srv1c;Ref=trade;" -confpath /etc/apache2/apache2.conf
```

webinst lives in the platform bin folder. Run it as administrator. Handy for headless servers and repeatable scripted publishing.

## Common publishing errors

| Symptom | Cause | Fix |
|---|---|---|
| Apache fails to start after publishing | 1C module and Apache bitness differ | Install the matching module or another Apache |
| 500 when opening the address | The web server user lacks rights on the 1C bin or publication folder | Grant read and execute |
| 404 on /hs/ | HTTP services are not published | Tick HTTP services and publish again |
| The browser asks for a login and rejects it | No 1C user with rights or the wrong auth mode | Check the user and sign-in method |
| Worked, broke after a platform update | The publication points to the old module version | Republish with the new version |

## Publication security

- Do not publish a database to the internet without HTTPS and a real need.
- Create a separate 1C user with minimal rights for HTTP services.
- Restrict network access to the publication if the service is internal.
- Check the response without auth: it must be 401, not data.

Testing a published service with requests is covered in [1C HTTP service](https://checkcraft.ru/en/guides/1c-http-service.html).

## More on 1C

Section overview and all guides: [1C integration via API: options, architecture and examples](https://checkcraft.ru/en/guides/1c-api-integration.html).

- [JSON in 1C:Enterprise: read, write, HTTP requests and common errors](https://checkcraft.ru/en/guides/1c-json.html)
- [Unexpected character when reading JSON in 1C: causes and fixes](https://checkcraft.ru/en/guides/1c-json-unexpected-character.html)
- [Structure, Array and ValueTable to JSON in 1C: both directions](https://checkcraft.ru/en/guides/1c-json-value-table.html)
- [Data exchange in 1C: methods, formats, setup and checks](https://checkcraft.ru/en/guides/1c-data-exchange.html)
- [Integrating 1C with a website and online store: options and pitfalls](https://checkcraft.ru/en/guides/1c-site-integration.html)

Next step

## Repeat this on your own API

Checkcraft is a desktop app that saves API response checks without code and shows what did not match. Start with a sample, then use your own sanitized data. Free runs on Windows and Linux with no time limit.

[Download Free](https://checkcraft.ru/en/download-checkcraft.html#free-download) · [Download and first run](https://checkcraft.ru/en/download-checkcraft.html)

No sign-up or email needed, the archive is ready in a couple of minutes. See the [edition limits](https://checkcraft.ru/en/pricing.html).

## Continue with a related task

[1C HTTP services: create, publish, test and debug with examples](https://checkcraft.ru/en/guides/1c-http-service.html) · [HTTP requests from 1C: GET, POST, headers, auth and timeouts with examples](https://checkcraft.ru/en/guides/1c-http-request.html) · [HTTP request failed in 1C: causes and fixes](https://checkcraft.ru/en/guides/1c-http-request-error.html) · [API error 500: server problem or bad request](https://checkcraft.ru/en/guides/api-500-error.html) · [403 Forbidden: what it means and how to fix it in an API](https://checkcraft.ru/en/guides/api-403-error.html)

Start with the linked example and compare its result with your own test requirement.

Ask a person

## Get help with your first test

Tell us what you want to test or where you got stuck. We can help you start Checkcraft, choose an example and understand your first run. You can ask before downloading.

[Ask in Telegram](https://t.me/checkcraftchat)Send an email

The Telegram group is public: do not post passwords, tokens or confidential work data. A description of your task is enough to start.

You can also email us support@checkcraft.ru

Page card: /ai/pages/en/guides/1c-web-publish.md
