Short answer: To publish a website, the domain name, hosting, and site files are connected in the correct order with DNS records. Usually A and CNAME records are enough; MX and TXT records are preserved. Then HTTPS is set up and the site is submitted to Google.
The answer to how to publish a website lies in connecting three parts in the correct order: the domain, hosting, and website files. A business website whose design is finished or nearly finished will not appear online until these three parts are connected and a few basic checks are completed. Because publishing a website appears full of technical terms, many business owners get stuck at the DNS, SSL, and Search Console steps.
This article explains publishing a ready-made website on the internet rather than building one from scratch. Connecting the domain and hosting, DNS records, HTTPS, moving WordPress to a live server, a prelaunch checklist, and notifying Google after launch are addressed in sequence. Every step involving official rules links to Google’s, WordPress’s, and Let’s Encrypt’s own pages.
Video transcript
How do you publish a website? The domain, hosting, and website files are connected in the correct order through DNS records; HTTPS is then set up and Google is notified of the website. A and CNAME records are generally sufficient to launch the website. The most costly mistake is deleting MX and TXT records; if corporate email is running, these records are preserved. First connect the domain to hosting, then install the certificate and redirect all addresses to HTTPS. Move the WordPress files and database, then add the website to Search Console. After launch, check the live address: the search engine block on the Settings, Reading screen, the 404 page, form submission, mobile appearance, speed, and backup. Common mistakes include separate www and non-www versions, links left on http, the test site being indexed, and migration without a backup. The Search Console, sitemap, and Business Profile steps are on this page. If you get stuck, you can write on WhatsApp. Onur Freelance dot com.
Is the website ready? Let us plan the launch steps together
What is ready and what is missing on the domain, hosting, and DNS side is examined individually in a free preliminary assessment. The preliminary discussion clarifies the sequence for launching the website without disrupting the existing email setup.
How do you publish a website? Three components and the connection between them
For a website to open online, its address, server, and content must all be ready at the same time; if one is missing, the browser either returns an error or displays a blank page. The roles of the three components are divided as follows:
- Domain name: The address the visitor types into the browser. It is rented annually from a registrar and should be registered in the business’s name.
- Hosting: The continuously accessible server where the website files and database reside. The server has an IP address.
- Website files or CMS: The HTML and images that make up the pages, and, if a content management system such as WordPress is used, its files and database.
DNS is the layer that establishes the connection. The domain’s DNS records answer the question “which server is this address on”; the browser follows this answer to the hosting server and retrieves the files there. If a domain has not yet been chosen, the domain selection guide can be read before launch.
Connecting a domain and hosting: nameserver or A record?
Connecting a domain and hosting is done in one of two ways: replace the domain’s nameserver information with the hosting company’s nameservers, or leave DNS management where it is and update only the necessary records to point to hosting. The difference between the two methods is whose control panel will be used to manage DNS.
| Criterion | Nameserver change | A/CNAME records only |
|---|---|---|
| Where is DNS managed? | From the hosting company’s control panel | From the existing DNS provider |
| Email records | Must be recreated in the new control panel | Remain unchanged as long as they are not touched |
| Suitable situation | If the domain has no email or other services | If corporate email and other services are already running |
| Risk | Email may be interrupted if the old records are not migrated | Deleting the wrong record causes the same problem |
When nameservers are changed, records in the old DNS control panel do not automatically move to the new one. Taking a screenshot of existing records before the change is the simplest precaution against a subsequent email interruption. Buying the domain and hosting from the same provider in the business’s name makes management easier; current fees are on the domain prices page.
Page contents
DNS settings: A, AAAA, CNAME, and MX records
Although DNS settings look complicated at first, two or three records are generally enough to launch a website. The roles of the record types are as follows:
- A record: Points the domain to the server’s IPv4 address. The root domain (örnek.com) is usually connected to hosting through this record.
- AAAA record: Does the same job for an IPv6 address. Do not add it if the hosting company does not provide an IPv6 address; leaving an old, incorrect AAAA record may send some visitors to the wrong server.
- CNAME record: Points a subdomain to another name; connecting www.örnek.com to örnek.com is a typical use.
- MX record: Specifies which server receives email sent to the domain. There is no need to touch the MX record to publish the website.
- TXT record: Used for verification and email security; Search Console verification can also be performed with this record.
The most common costly mistake is deleting or overwriting MX and TXT records when launching the website. If corporate email runs on another service, preserve these records as they are and change only the A, AAAA, and CNAME records related to the website.
How long does a DNS change take to propagate?
A DNS change does not appear everywhere instantly; propagation can take hours because old information may remain cached until the records’ TTL expires. Google’s Search Console site ownership verification page states that it may take a few minutes or even a few days for Google to see an added DNS record. During this period, some visitors may see the old server and others the new one; lowering the TTL before a major change can shorten the transition.
How can you tell whether the records were entered correctly?
After the change, compare the IP address provided by the hosting company with the IP address the domain points to. The nslookup tool, which runs from the computer’s command line, or online DNS lookup tools show the address to which the domain currently points. If results differ between servers, propagation is not yet complete; wait a while before changing the records again.
SSL and HTTPS: a free certificate with Let’s Encrypt
Opening a live website over HTTPS is now a basic expectation; browsers mark pages without certificates as not secure, and form data travels without encryption. Let’s Encrypt’s getting started page describes the organization as a free, automated, and open certificate authority operated by the nonprofit ISRG. Certificates are distributed automatically through the ACME protocol; the page presents two routes: automatic certificate management by the hosting provider, or running an ACME client such as Certbot if sufficient server privileges are available.
For most businesses using shared hosting, the certificate is enabled with a few clicks in the hosting control panel. After installation, two tasks remain: permanently redirecting all http addresses to https and loading the website’s images, scripts, and links over https. Google’s consolidating duplicate URLs page states that HTTPS pages are preferred over equivalent HTTP pages and recommends adding redirects from HTTP to HTTPS.
The certificate must cover both the www and non-www addresses; a certificate installed for only one shows a security warning to visitors arriving at the other address. After installation, clicking the lock icon in the address bar lets you see which address the certificate was issued for and its validity date. If the certificate does not renew automatically, record its expiration date in the calendar.
Moving a WordPress website from local or staging to live
If the website was prepared on a computer locally or in a staging environment, publication takes place by moving its files and database to the live server. For a business using WordPress, the answer to how to publish a website is usually this migration work. WordPress’s official migration documentation asks that the WordPress folder, images, plugins, and database be backed up before the procedure. Broadly, the migration steps follow this sequence:
- Back up the source website’s files and database.
- Upload the files to live hosting, transfer the database to the new server, and update the database information in wp-config.php.
- Adjust “WordPress Address (URL)” and “Site Address (URL)” for the new domain; according to the documentation, the first indicates where the core files are located, and the second indicates the address visitors will enter in their browsers.
- Replace old addresses in the database (localhost or the test domain) with the new one.
- Save permalinks again, and test pages and forms at the live address.
The point requiring the most care in step four is serialized data. The WordPress documentation warns that a plain find-and-replace across the entire database can break some theme and widget settings, and recommends using plugins designed for this purpose or WP-CLI’s search-replace command instead. The same documentation also specifically emphasizes that the GUID column for posts must never be changed. How migration work is carried out is explained on the WordPress website migration page.
Website launch checklist
A website launch checklist closes the gap between “the website opens” and “the website does its job.” After the address change, perform the following checks on the live domain:
| Check | Where to look | Why it matters |
|---|---|---|
| Search engine visibility | WordPress Settings › Reading | If the box selected during testing remains enabled on the live site, the website is not indexed |
| 404 page | Try an address that does not exist | Visitors should be able to find their way after a broken link |
| Contact form | Make a real submission and check the inbox | Email delivery can break when the server changes |
| Mobile appearance | Menus, buttons, and forms on a phone | A substantial portion of visits comes from phones |
| Speed | Measure the homepage and the heaviest page | Speed in the test environment may differ on the live server |
| KVKK (Turkey’s Personal Data Protection Law) and cookie notices | Footer links and cookie notice | A privacy information notice is needed if personal data is collected through a form |
| Backup | Hosting or plugin backup | An error in the first few days should be reversible |
According to WordPress’s Reading Settings documentation, selecting “Discourage search engines from indexing this site” adds a noindex, nofollow tag to the page’s head section. The documentation also notes that this setting does not block access to the website and that honoring the request is up to the search engine. Because the content of KVKK and cookie notices varies with the business’s data processing practices, confirmation of the texts with a legal professional is recommended.
Let us perform launch-day checks together
DNS transition, HTTPS redirection, the noindex setting, and form tests are checked in order on launch day using a single list. A free preliminary assessment clarifies which steps will be performed by the business and which on the technical side.
After launch: adding the website to Search Console and submitting a sitemap
The question of how to publish a website does not end when the website opens; Google Search Console is the official way to notify Google. Google’s adding a property page defines two property types. A Domain property covers all http, https, www, and subdomain versions and is verified only through a DNS record; a URL-prefix property covers only pages starting with the specified protocol and address and offers several verification methods.
According to Google’s verification page, the TXT record added for verification must not be deleted from DNS even after verification succeeds; deleting it may cause the property to become unverified. After verification, the next steps are as follows:
- Open the sitemap address generated by the SEO plugin or WordPress core in the browser to confirm that it works.
- Enter and submit this address in the Sitemaps report in Search Console.
- Use the URL Inspection tool to check that the homepage is accessible to Google.
- After a few days, check the page indexing report for “noindex” or “blocked by robots.txt” warnings.
Google’s sitemap management page explicitly states that submitting a sitemap does not mean every listed URL will be crawled or indexed. When ownership permissions are unavailable, the sitemap can also be specified in the robots.txt file.
Adding the website to Google Business Profile and Bing Webmaster Tools
For a business serving local customers, the final step on the how-to-publish-a-website list is entering the new address in Google Business Profile. Google’s editing a Business Profile page asks for the full URL, including “http://” or “https://”, to be entered in the website field. If the website has moved to HTTPS, updating the profile address to the version beginning with https eliminates an unnecessary redirect.
On Bing, use Bing Webmaster Tools. Bing’s import announcement explains that websites verified in Search Console can be imported directly into Bing Webmaster Tools and that imported websites are automatically verified. Once Search Console setup is complete, this route handles Bing verification without the need for a separate DNS record.
Common mistakes when publishing a website online and the correct approach
Most mistakes during website publication go unnoticed because the website opens; their effects appear weeks later in indexing reports or missing emails. The most common examples and their correct alternatives are as follows:
- Separate www and non-www versions: If both addresses open separately, choose one and connect the other to it through a permanent redirect. Google sees redirection as a strong signal about which URL should be considered canonical.
- Links left on http: If http addresses remain in menus, images, and text links, the browser may show a mixed content warning. Update old addresses in the database using a safe find-and-replace tool.
- The staging website being indexed: Protect the test environment with a password and mark it noindex. According to Google’s blocking indexing documentation, a noindex rule on a page blocked through robots.txt is never seen; do not use the two methods together on the same page.
- Test settings moving to the live site: The search engine block left enabled on staging moves to the live website with the copied database.
- Deleting MX records: Recreate the old email records in the new control panel when changing nameservers.
- Launching without a backup: Back up both the source and destination before migration.
Launching it yourself or getting support?
For a new domain with a single-page website and no email service, publishing a website is something business owners can do themselves using the hosting control panel’s wizards. Complexity begins when the domain already has working corporate email, an old website, or multiple DNS services. For a business owner researching how to publish a website, the real decision is who will manage these risks.
A common general practice is to upload the files to the server and consider the job finished when the website opens. Onur Freelance takes a different approach: launch begins with a backup of DNS records and is not considered complete until the indexing report in Search Console looks clean. Hosting’s impact on speed and search visibility is addressed separately in the hosting selection article.
The launch process and cost items at Onur Freelance
Onur Freelance is a studio providing web design and digital marketing services from Maltepe/Istanbul since 2019; launch is carried out as part of the website delivery process. The domain and hosting are opened in the business’s name, and administrator access remains with the business. Onur Freelance is not an official support channel for Google, domain registrars, or hosting providers; these organizations have their own separate control panels and support lines.
The fixed cost items on the publication side are as follows:
- Hosting: 2,000 TL per year; details are on the hosting prices page.
- Domain: 1,000 TL per year; when purchased with hosting, the two cost 3,000 TL.
- Maintenance: Post-launch updates, backups, and security monitoring range from 500–2,000 TL per month.
If the website itself has not yet been built, a single-page website starts at 12,000 TL, a corporate website at 15,000 TL, and an e-commerce website at 24,000 TL. If search visibility is a goal after launch, check whether the website’s technical infrastructure is SEO-friendly; ongoing SEO work starts at 9,000 TL per month. No promise is made about rankings or indexing time; these decisions belong to search engines.
If the website is ready to go live, let us choose the next step together
Once the technical side of how to publish a website is clear, the next step depends on the website’s situation. If you are only gathering information, the checklist above can be used independently; if you cannot decide between domain, email, and old website considerations, a short preliminary discussion is sufficient. For a website ready to launch, you can request a free preliminary assessment by WhatsApp or phone.
Frequently asked questions
What do you need to publish a website?
You need a domain, hosting to accommodate the website, and the website files or a content management system such as WordPress. The three are connected through DNS records, and an SSL certificate is added for HTTPS.
How do you know DNS records were entered correctly?
The IP address provided by the hosting company is compared with the IP address the domain name points to. The nslookup tool or online DNS lookup tools show which address the domain name currently resolves to. If the result differs across different servers, propagation has not yet completed, and you should wait for a while without changing the records again.
How are a domain and hosting connected?
Replace the domain’s nameservers with the hosting company’s nameservers, or leave DNS where it is and update the A and CNAME records to point to the hosting IP address. If email is running on the domain, the second approach makes preserving MX records easier.
How long does a DNS change take to become active?
DNS changes do not appear everywhere instantly; propagation can take hours depending on the records’ TTL. Google states that it can take a few minutes or even a few days for a DNS record added for Search Console verification to be seen.
Do MX records need to be changed when launching a website?
No; MX records point to the server where emails will be delivered and do not need to be changed to publish a website. If nameservers are being changed, these records must be recreated identically in the new DNS control panel; otherwise, email may be interrupted.
Does an SSL certificate cost money?
A free option exists; Let’s Encrypt is a free and automated certificate authority operated by the nonprofit ISRG. Most hosting companies offer the ability to enable this certificate from their control panel.
Why does a WordPress website not appear on Google after launch?
The most common reason is that the box discouraging search engines from indexing the website remains selected under Settings › Reading; this adds a noindex tag to pages. After clearing the box, add the website to Search Console and submit its sitemap.
Does submitting a sitemap get every page indexed?
No; Google states that crawling the URLs in a sitemap may take time and that not all may be crawled, depending on the website’s size, activity, and traffic. A sitemap makes discovery easier but does not ensure indexing on its own.
How much does a website launch service cost?
At Onur Freelance, launch is carried out as part of the website delivery process. Hosting costs 2,000 TL per year, the domain costs 1,000 TL per year, and both together cost 3,000 TL and are opened in the business’s name; post-launch maintenance ranges from 500–2,000 TL per month.
Call us
Call us for detailed information.
Let us call you!
Share your number and let us call you!
Our other services
- › Corporate web design
- › E-commerce website development
- › SEO optimization
- › WordPress website development
- › Google Ads management
- › WordPress speed optimization
Service areas
- › Web design in Sakarya
- › Web design in Tekirdağ
- › Web design in Bursa
- › Web design in Beşiktaş
- › Web design in Şişli
- › Web design in Tuzla
- › Web design in Ümraniye
- › Web design in Kadıköy
- › Web design in İstanbul
- › Web design in Ankara
- › Web design in Ataşehir
- › Web design in Üsküdar
- › Web design in Kartal
- › Web design in Maltepe
- › Web design in Pendik
- › Web design in Kocaeli
- › Web design in İzmir
- › Web design in Antalya
