What does this screen do?
When a visitor opens your site, the request reaches NetSSL first. NetSSL receives the request over SSL and forwards it to your target server. The host's Publishing settings page holds every detail of this forwarding. Who can access the site is set on the host's Security page instead.
To open the page, select the host in the Your sites → Hosts list and click Publishing settings in the host menu.
When should you use it?
- Your server's IP address or port has changed.
- You have a second server in a disaster recovery center, and you want the site to stay up without interruption.
- The site runs on more than one server, and you want to share the traffic between them.
- You want visitors who type
wwwto reach the site too. - You want a specific page to appear as soon as the site opens, or you want old addresses to lead to new ones.
- Long-running reports get cut off, or large files cannot be uploaded.

Most of the page is a single form. After you change these sections, click the Save and apply button at the bottom. Undo discards unsaved changes. The Load balancing, Peak traffic cache, Language of visitor pages and Cookie consent banner (KVKK) cards have their own Save button.
To undo a saved change, use the settings history. Details are in the Settings history and templates guide.
Target server
The Target server is the server your site actually runs on. You enter its IP address or domain name and its port.
- Select the protocol: http:// or https://. If your server only listens on HTTPS, select https://.
- Enter the IP address or domain name.
- Enter the port. Usually 80 is used for HTTP and 443 for HTTPS.
- Click Save and apply.
When you select https://, the Send domain name (SNI) to target option appears. Turn this option on if the target server has more than one HTTPS site on the same IP. If the wrong site opens on a Plesk, cPanel or IIS server, this is usually the cause.
The How does traffic flow? card on the page shows the path: the visitor, NetSSL, your target server and the backup server if there is one. The card also shows the NetSSL address you need to allow in your firewall.
Allow the NetSSL address in your target server's firewall. Without this, NetSSL cannot connect to your server. The visitor's real IP arrives in the X-Real-IP, X-Forwarded-For and CF-Connecting-IP headers. To make your server read this header, see the Real visitor IP guide.
Backup target server and automatic failover
The Backup target server is a second server that runs the same application. It can be in a disaster recovery center or on a standby virtual machine. If the main server goes down, the site keeps running from the backup. The backup server is checked every minute, together with the main server. Its status appears at the top right of the card.

When Switch automatically if the main server goes down is on, failover works like this:
| Situation | What happens? |
|---|---|
| The main server cannot be reached (it is down or gives no response within 5 seconds) | That page request goes to the backup without waiting. The visitor sees no error. |
| The outage lasts longer than 2 minutes | All traffic moves to the backup. NetSSL no longer waits for the main server. |
| The main server responds steadily for 5 minutes | The site switches back to the main server by itself. |
You get an email at every switch. Form submissions (login, application, registration) are not resent to the backup, because they may have reached the main server. Instant failover applies only to page view requests.
If automatic failover is off, you do the switch yourself. If you plan maintenance on the main server, click Switch to backup now. Traffic stays on the backup until you click Return to main server. While the site is served from the backup, a warning bar appears at the top of the card.
You are responsible for keeping the database and files on the backup server up to date. NetSSL only routes the traffic.
Load balancing
Load balancing (multiple target servers) shares traffic between servers that run the same site. You can use up to 8 servers, including the main target.

- Turn on the Enable load balancing switch.
- Select a Distribution method.
- In the table, enter the IP address or domain name and the port of the other servers.
- Change the Weight value if needed (1-10).
- Click the card's Save button.
The table starts with a few empty rows. To add more servers, save first. New empty rows appear after you save.
| Method | What does it do? | When? |
|---|---|---|
| Round robin (weighted) | Distributes requests in turn, according to weight. A server with weight 2 receives twice as many requests as a server with weight 1. | When the servers have similar capacity |
| Least connections | Sends each request to the server with the least work at that moment. | For sites where some pages are slow |
| Sticky visitor | Always sends the same visitor to the same server. | For applications that keep sessions on the server disk (PHP sessions, e-municipality) |
A server that returns a connection error or timeout is taken out of rotation for 30 seconds. A page request that gets an error goes to another server immediately. The table's Last 24 hours column shows each server's request count, share and error count.
- All servers use the same protocol (HTTP or HTTPS) as the main target.
- Allow the NetSSL addresses in the firewall of each server.
- Load balancing stops when the site switches to the backup server.
What happens if your server goes down?
When your target server does not respond, NetSSL follows the order below. Only the steps you have turned on or set up take effect.
| Order | What takes over | Condition |
|---|---|---|
| 1 | The other servers in load balancing | If Load balancing is on |
| 2 | Backup target server | If a Backup target server is set |
| 3 | The saved copy of the page | If Always On is on and a copy of the page exists |
| 4 | Information page | If Information page if target is unreachable is on |
Performance and compatibility
This card has switches that affect the speed and compatibility of the site. The defaults suit most sites.

| Setting | What does it do? |
|---|---|
| HTTP/2 | Pages load faster. Leave it on unless you have a reason to turn it off. |
| WebSocket | Applications that use live notifications, chat and real-time data need it. |
| Compression (gzip) | Page, CSS, JavaScript and JSON responses are sent compressed. On slow connections, pages open noticeably faster. If your target server already compresses them, they are not compressed again. |
The same card also has switches for security. Security headers, Hide server information and Hide email addresses from spam bots are covered in the Leaks and site hardening guide. Block known attack patterns is covered in the Attack protection guide.
Cache
When Cache static files is on, image, CSS, JavaScript and font files are stored on NetSSL. NetSSL serves these files without asking your target server. Your site gets faster and the load on your server drops. Even if your target server goes down briefly, these files are still served.
- Pages, forms, API responses, PDFs and documents, and video files are not cached.
- If your target server sends
Cache-Control: privateorno-store, that file is not stored. - If your target server does not specify another duration, files are stored for 10 minutes.
- If your site has images that only logged-in users can see, leave the cache off.
If you changed a file, click Clear cache. The cached files are deleted, and NetSSL fetches them again from the target server on the next request. This button also deletes the Always On copies and the pages in the peak traffic cache.
The Peak traffic cache, which stores pages for a few seconds during sudden surges, is also on this page. The Maintenance and peak days guide covers this feature.
Always On
If Always On is on and your target server goes down, the visitor sees the last saved copy of the page instead of an error. A warning appears at the top of the page: “the site is not responding right now, you are viewing a saved copy”.
- While your server is running, every visitor gets the current version of the page. The copy is used only during an outage.
- Personalized pages are not stored. Pages seen by logged-in visitors and form submissions are not copied.
- Copies are kept for at most 7 days.
Error page: information page if target is unreachable
If Information page if target is unreachable is on, the visitor sees a clear page instead of the technical “502 Bad Gateway” message. The page refreshes itself every 30 seconds. When your server comes back up, the visitor returns to the site automatically. Your application's own error pages are not touched.

The eye icon in the row (What does the visitor see?) opens a sample of this page. You can design the look of the page for your organization. Details are in the Announcements and error pages guide.
Language of visitor pages
In some cases, NetSSL shows the visitor its own page. These include the access block, browser verification, too many requests, maintenance, waiting room, password-protected page and “site is not responding” pages. Language of visitor pages shows these pages in the visitor's browser language. Tourists, citizens abroad and Arabic-speaking visitors read the page in their own language.

- Turn on the Show by browser language switch. When it is off, all pages are shown in Turkish.
- In the Languages section, tick the ones you want: English, Arabic and German.
- Click the card's Save button.
- Browsers set to Turkish always see Turkish.
- A browser set to an unsupported language (e.g. French) sees English.
- The visitor can change the language with the link at the bottom of the page.
- The Arabic page is shown from right to left.
- If your organization has its own error page design, the design stays the same. The title and text are shown in the selected language. Your maintenance message is also shown in Turkish.
The eye icon on the card opens sample pages in English, Arabic and German.
Cookie consent banner
The Cookie consent banner (KVKK), which shows an “Accept / Reject” banner without adding code to your site, is also on this page. The KVKK privacy center guide covers it.
Site structure (linked services)
Many web applications do not consist of a single address. Map (GIS), file, image or API servers run at separate addresses. The visitor's browser loads these addresses in the background while the page opens. The Site structure section decides whether an address is a site on its own or a linked service of another site.

When you make an address a linked service, the following happens:
- It is reported together with the main site as a single site. The main site's Overview page shows the site total and the share of each address.
- Browser verification is asked on the main site and not asked again on the linked service. Maps, images and files still load while attack protection is on.
- Protection continues. An attacker banned on the main site cannot reach the linked service either. IP lists, country blocking, office hours blocking and attack pattern rules apply in the same way.
- Logs are kept separately for each address. You can view them together with the main site on the Logs page.
- A linked service runs on the same server and counts toward your number of hosts.
To make an address a linked service:
- Open the Publishing settings page of the address that will become the linked service.
- In the How is this address used? list, select the “linked service of the ... site” option.
- Click Save and apply.
Only sites on the same NetSSL server can be selected in the list. A site that has linked services cannot become a linked service of another site. You can add a new linked service directly with the Add linked service button on the main site's page.
If you added the main site and the linked service the wrong way round, you do not need to delete the host. The Swap: make this address the main site button swaps the roles. Logs, SSL certificates and DNS stay as they are.
Use linked services only for addresses that load from inside another site. Sites that visitors open directly should stay sites on their own.
Additional address (with or without www)
An Additional address lets a second address open the same site. For example, a visitor can type both www.ebelediye.testbelediyesi.bel.tr and ebelediye.testbelediyesi.bel.tr. A visitor who comes to the additional address is redirected permanently (301) to the main address with the same path.
- Enter the second address in the Additional address field, or click the suggestion below the field.
- Click Save and apply.
- Add a DNS record for the additional address. Use a CNAME record for a subdomain and an A record for the root domain. The card shows the target of the record.
- As soon as the record becomes visible, the address is added to the SSL certificate and the redirect starts. You do not need to do anything else.
The status at the top right of the card shows Waiting for DNS, Active or Problem. The additional address must be one of the domains defined in your account. Additional addresses do not count toward your number of hosts.
Redirect rules (address rules)
Address rules decide what is shown when an address is opened. They appear in the host menu as Redirect rules. There are two types of rule.
| Rule | Address bar | When? |
|---|---|---|
| Redirect (address changes) | The new address is shown. | It works smoothly in every application and can also send visitors to another site. If you are not sure, choose this one. |
| Mask (address stays the same) | The address the visitor opened stays. | The content comes from another path on your target server. Use it only for paths on your own target server. |

To add a rule:
- Click Add rule, or click one of the items in the Ready-made examples list.
- In the What should happen? field, select Redirect or Mask.
- In the When the visitor opens this address field, enter the path (e.g.
/). - In the Match field, select This address only or This address and everything under it.
- For a redirect, fill in the Destination address field. For a mask, fill in the Path to fetch from the target server field.
- For a redirect, select the Redirect type: Temporary (302) or Permanent (301).
- Click Save and apply.
Below each rule, an example address shows what the rule will do. You can define up to 20 rules. A rule takes effect a few seconds after you save it.
Temporary (302) is for situations you may change later. Permanent (301) is for pages that have moved. Browsers and search engines remember permanent redirects.
Ready-made examples
| Example | What does it do? |
|---|---|
| Redirect the home page to a page | When the site opens, the visitor goes straight to a page such as /rehber. This is the safest method. |
| Show a page on the home page (address stays the same) | Only the domain name appears in the address bar, and the content comes from the /rehber page. |
| Application is in a subfolder on the target | An application that runs under /rehber/ on the target opens at the root of the site. |
| Map an address to the root of the target | The visitor opens /rehberler/..., and the target server responds from its own root. |
| Short address (poster, QR code, SMS) | A short, memorable address leads to a long page: /basvuru. |
| Move old pages to a new address | /eski/... links redirect permanently to /yeni/.... Search engine rankings are preserved. |
| Shortcut to another system | A visitor who types /ebys goes to the document management system. |
| Clean up an old file name | When /default.aspx is opened, it redirects permanently to the clean address (/). |
| Publish the application's API at a short address | The mobile app uses the /api/... address, and the request goes to another path on the target. |
| Site moved: send everything to the new address | Every request to this address redirects permanently to the new domain with the same path. |
After you choose an example, adjust the addresses to fit your site.
If the links and images on the page use relative addresses (e.g. css/stil.css), they can point to the wrong place with masking. Keep the Pass requests that start with the target path through unchanged option on. After saving, open the site and check it. If the problem continues, change the rule to a redirect.
Security rules and logs work on the address the visitor opened. Linked services and SSL certificate renewal are not affected by address rules. For individual pages that cannot be found, the Missing pages (404) redirects in the Site monitoring and SEO guide are more practical.
Advanced settings
The Advanced settings section is collapsed by default. Change these settings only when you need to.
| Setting | Default | Limit | When should you change it? |
|---|---|---|---|
| Timeout | 60 seconds | 10-600 seconds | If long-running reports or exports get cut off (504 error) |
| Maximum file upload | 100 MB | 1-2048 MB | If visitors cannot upload large files (413 error) |
| HSTS (HTTPS only) | Off | 1 year | If you want browsers to reach the address only over HTTPS |
When you raise the file upload limit, also check the limit of your target server. In PHP, upload_max_filesize sets this limit. In IIS, maxAllowedContentLength sets it.
When HSTS is on, browsers open the address only over HTTPS for 1 year. It is hard to undo once you turn it on. If you are not sure, leave it off.
Frequently asked questions
Does the site go down if our main server crashes?
Not if you have set up a backup target server. Page requests that cannot reach the main server go to the backup instantly. If the outage lasts longer than 2 minutes, the whole site moves to the backup. Without a backup, Always On shows the saved copy of the pages, and the information page shows a clear warning.
Does the status page show an outage when traffic switches to the backup server?
No. While the backup server is in use, your status page shows no service outage. You get an email for the switch and for the return.
The browser shows an ERR_TOO_MANY_REDIRECTS error.
The most common cause is this: the target is set to http://, but your server redirects HTTP requests to its own HTTPS address. This creates an endless loop. Set the target to https:// and to your server's HTTPS port (usually 443). For other errors, see the Troubleshooting guide.
Images or styles look broken after a mask rule.
If the addresses inside the page are relative, the browser requests them based on the address the visitor sees. Turn on the Pass requests that start with the target path through unchanged option. If the problem continues, change the same rule to Redirect. Redirects work in every application.
Live notifications or chat do not work.
Check that the WebSocket switch is on in the Performance and compatibility card. Applications like these use WebSocket connections.