<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by burhankaratas on Medium]]></title>
        <description><![CDATA[Stories by burhankaratas on Medium]]></description>
        <link>https://medium.com/@burhankaratas771?source=rss-5e20abfb3130------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Ml95uJ_Rq7U1VyukCFYrPQ.jpeg</url>
            <title>Stories by burhankaratas on Medium</title>
            <link>https://medium.com/@burhankaratas771?source=rss-5e20abfb3130------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 00:36:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@burhankaratas771/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Edura: Dershane Yönetim Sistemi]]></title>
            <link>https://medium.com/@burhankaratas771/edura-dershane-y%C3%B6netim-sistemi-fc350f73e102?source=rss-5e20abfb3130------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc350f73e102</guid>
            <dc:creator><![CDATA[burhankaratas]]></dc:creator>
            <pubDate>Sat, 04 Oct 2025 07:19:38 GMT</pubDate>
            <atom:updated>2025-10-04T07:19:38.659Z</atom:updated>
            <content:encoded><![CDATA[<h3>Edura İle Tanışın</h3><p><strong>Edura,</strong> dershaneler için tasarlanmış modern ve kullanımı kolay bir yönetim sistemidir. Öğrenci, öğretmen, yönetici ve rehberlikçiler için ayrı ayrı kişiselleştirilmiş paneller içerir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*61bPBH2K2Q_yvz7Q29yGgw.png" /></figure><h3>Edura Nedir?</h3><p>Edura, küçük ve orta zarif dersler için geliştirilmiş özet bir yönetim sistemidir. Kayıtların değişmesi, sınıf yönetimine, kayıtların düzenlenmesinden ve bilgilendirmeye kadar her şey tek panelde toplar.</p><p>Hem sade hem de güçlü bileşenleri ile herkesin kolayca kullanabileceği şekilde tasarlanmıştır. Sürekli olarak ilerleyerek her ihtiyaç için ideal çözüm sağlar.</p><h3>Öne Çıkan Özellikler</h3><h4>Ders Yönetimi</h4><p>Kolayca dersleri birleştirin, güncelleyin ve silin. Programlar elinizin altındadır.</p><h4>Öğretmen ve Öğrenci Takibi</h4><p>Tüm öğretmen ve etkinlikleri düzenli olarak kayıt altında.</p><h4>SMS Bildirim Sistemi</h4><p>Yoklamanın ardından otomatik SMS gönderimi ile veliler her zaman haberdar olur.</p><h3>Geliştirilirken Kullanılan Teknolojiler</h3><ol><li>Python, Flask</li><li>Html, CSS, Javascript</li><li>Bootstrap, Bootstrap simgeleri</li><li>Netgsm SMS API</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc350f73e102" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flask Uygulamasını Yayına Almak]]></title>
            <link>https://medium.com/@burhankaratas771/flask-uygulamas%C4%B1n%C4%B1-yay%C4%B1na-almak-4f12d486f72e?source=rss-5e20abfb3130------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f12d486f72e</guid>
            <category><![CDATA[deploy]]></category>
            <category><![CDATA[flask-deployment]]></category>
            <category><![CDATA[vds]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[flask]]></category>
            <dc:creator><![CDATA[burhankaratas]]></dc:creator>
            <pubDate>Mon, 08 Apr 2024 22:18:24 GMT</pubDate>
            <atom:updated>2024-04-08T22:20:31.113Z</atom:updated>
            <content:encoded><![CDATA[<p>Merhaba bu yazımda geliştirdiğim basit bir web sitesini nasıl yayına aldığımdan bahsedeceğim.</p><p><em>Dikkat!! yayımlarken sadece test amaçlı yayımlayacaksanız veya ciddi bir iş amacı ile yayımlamayacaksanız </em><a href="https://render.com/"><em>https://render.com</em></a><em> sitesi üzerinden kolayca yayımlayabilirsiniz.</em></p><p>Yayımlamak için ilk önce VDS nedir onu bilmeliyiz. Kısaca VDS (Virtual Dedicated Server) adından da anlaşılacağı gibi sanal sunucudur. VDS kullanarak websitenizi aynı localde çalıştırdığınız gibi gereklilikleri kurup rahatlıkla çalıştırabilirsiniz.</p><h3>VDS Kiralamak</h3><p>İstediğiniz herhangi bir hizmet sağlayıcısından bir vds kiralamanız gerekmekte. Ben <a href="https://www.rabisu.com/tr/">https://www.rabisu.com/tr/</a> üzerinden satın aldım ve size bunun üzerinden anlatacağım fakat siz başka alternatiflerde tercih edebilirsiniz</p><p>Satın aldıktan sonra size sağlanan bilgiler ile sanal makinenize bağlanıp gerekli paketleri (Python, flask, diğer modüller vs) yükleyip, çalıştığınız ide ile serveri local de yayımlamanız gerekiyor.</p><h3>Main.py</h3><p>Dosyada dikkat etmeniz gereken bir şeyden bahsetmem gerek:</p><pre>if __name__ == &quot;__main__&quot; : <br>    port = int (os.environ.get( &quot;PORT&quot; , 5000 )) <br>    app.run(host= &quot;0.0.0.0&quot; , port=port)</pre><p>yukarıda gördüğünüz kod gibi sitenizi yayımlarken debug modunu kapatın ve siteye belirli bir port verin. Örneğin 5000 derseniz ve çalıştırırsanız siteniz localhost:5000 üzerinde çalışacaktır. Orada verdiğiniz port üzerinde siteniz çalışmış olacak.</p><h3>VDS AYARLAMAK</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TnpS13h6CZQGplvbmYBx0g.png" /></figure><p>VDS kiralama kısmını başarıyla yaptıktan sonra sizi kurduğunuz işletim sistemine göre ekranınız karşılayacak. Şimdi yapmanız gereken Server manager kısmına girmek.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6t3iUgPQscfRLsLlB_OoTw.png" /></figure><p>Windows defender Firewall with Advanced Security kısmına tıklayın</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gSwHNB6O4PbK850hgXFUGQ.png" /></figure><p>Inbound Rules kısmına tıklayın. Ardından aşağıdaki görseldeki gibi New Rule kısmına tıklayın.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xjMoUijc-JDjHiFqxQR0mA.png" /></figure><p>New Rule kısmından port kısmına tıklayın ve next butonuna basın.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UcnvYY56o63dwArGmlw8BQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/1*e-k7Q5a88lOp2AgP4qm8sw.png" /></figure><p>Bu kısımda Specific local ports kısmına sitenizi yayımladığınız portu girin. Yani kodunuzun şu kısmına girdiğiniz kod:</p><pre>if __name__ == &quot;__main__&quot; : <br>    port = int (os.environ.get( &quot;PORT&quot; , 5000 )) # buradaki portu<br>     app.run(host= &quot;0.0.0.0&quot; , port=port)</pre><p>Ardından tek yapmanız gereken her seferinde next next next diyerek name kısmına istediğiniz bir isimlendirmeyi girerek (site adı olabilir, yada portu girebilirsiniz). Ardından finish diyerek bitirebilirsiniz.</p><p>Bu işlemi bir kez daha tekrarlamanız gerekecek ve busefer bu işlemi 80 portu için yapmanız gerekiyor. Yukarıdaki adımları izleyerek busefer 80 portunu yayımlayın.</p><h3>Sunucu IP Adresi</h3><p>VDS Sağlayıcınızın size sağladığı ip adresiniz sizin herkese açık adresinizdir. Örneğin bunu rabisu üzerinden kiralama işlemini yaptıysanız ürününüzün sayfasında görebilirsiniz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*GPWEmUV0LrV3whI7hXlybw.png" /></figure><p>Şimdi size verilen ip üzerinden örneğin açtığınız 80 portuna istek atarsanız (<a href="http://93.177.101.90/">http://93.177.101.90:80</a> ) şuanda bir sonuç alamasanız bile o ip adresi ve port şuanda herkesin erişebileceği bir konumda.</p><h3>Sitemizin Yayımlanması</h3><p>Artık yüzdük yüzdük kuyruğuna geldik. Artık tek yapmanız gereken sitenizi VDS üzerinden çalıştırmak olacaktır. Örneğin ben çalıştırmak için visual studio code kurdum ve aynı localde çalıştırır gibi uygulamamı çalıştıracağım:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*9lmVDbb8aXps6AQYoV34QA.png" /></figure><p>Ve artık sitemiz yayında. Şuanda size sağlanan ip adresine herhangi bir tarayıcıdan siteyi yayımladığınız porta istek atarak herkes erişebilir! İlk aşama mükemmel. Eğer bu yere kadar bir sıkıntı yaşadıysanız bana ulaşabilirsiniz.</p><p><em>Instagram: burhannkaratas</em></p><h3>Peki İyi Güzelde Alan Adımı Nasıl Bağlayacağım??</h3><p>Bu durumda iki seçenekle karşı karşıya kalıyoruz. Ben iki seçeneği de anlatacağım.</p><p>İlk olarak VDS üzerinde kaç site barındırmak istediğinizi göz önünde bulundurmanız gerekiyor. Eğer ben sadece kendi sitemi barındıracağım başka siteler yayımlamayacağım diyorsanız Buradan okumaya devam edin. Birden fazla site barındıracaksanız lütfen aşağı kaydırın ve ikinci aşamayı okuyun.</p><h3>1. Aşama</h3><p><em>Bir Site Barındırmak</em></p><p>Bu kısımda tek yapmanız gereken Domain sağlayıcınız üzerinden sitenizin IP Yönlendirme ayarlarına girmek. Ayrıca sitenizin tarayıcılar tarafından bulunabilmesi için sitenizi yayımladığınız portu 80 olarak değiştirin. Zaten 80 portunu tüm dünyaya açmıştık.</p><p>Örneğin ben alan adlarımı <a href="https://www.yoncu.com/">https://www.yoncu.com/</a> üzerinden satın alıyorum ve size buradan basitçe açıklayacağım. Fakat endişe etmeyin. Alan adınız eğer farklı bir yerde barındırılıyorsa <a href="https://dash.cloudflare.com/sign-up">https://dash.cloudflare.com/sign-up</a> buradan da devam edebilirsiniz. İkisini de basit bir şekilde açıklayacağım.</p><p>İlk olarak cloudflareye kayıt olun ve</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dzILWQUO6STKHljNj2VSuA.png" /></figure><p>burada gördüğünüz küçük mavi butonumuza tıklayın. Ardından sizden alan adınızı girmenizi isteyecek. Sahip olduğunuz alan adını oraya girin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*dZHyRcNo1cXshSqYlR0_cA.png" /></figure><p>Buradan Free paketi seçerek devam edebilirsiniz. Bizim ihtiyacımızı fazlasıyla karşılayacaktır. Buradan sonra bizim yaptığımız işlemleri sizde oradan yapabilirsiniz.</p><p>Yöncü sitesinden devam edeceğim. Site üzerinden alan adlarım kısmına gelin ve yönet butonuna tıklayın.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*lu7Pmqb5ak85Rjc0Glan7w.png" /></figure><p>buradan ip yönlendirmeye tıklayın.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*1hJBDgRybEzPJlfAaIUSIA.png" /></figure><p>yukarıdaki gördüğünüz kısma gelin ve sunucunuzun ip adresini girin.</p><p><em>Dikkat!! ip adresini http kısmı olmadan sadece sayısal kısmını girin ayrıca port eklemeyin. 80 Portunu tarayıcılar otomatik olarak bulacaktır.</em></p><p>IP Adresinizi girdikten sonra IP Yapısını oluştura tıklayın ve işlem tamam! Siteniz eğer başka bir hata yoksa (yönlendirme Aktifliği 1~24 saat arasında zaman alabilir) en geç 24 saat içerisinde alan adınız üzerinden erişilebilecektir.</p><h3>2. Aşama</h3><p><em>Çoklu Site Barındırmak</em></p><p>Bu kısımda kafanız biraz karışabilir. Fakat sorun değil çünkü buraya kadar sorunsuz geldiyseniz muhtemelen devamını da rahatlıkla yapabilecek kişilersiniz.</p><p>Öncelikle ilk olarak sunucumuza Apache Server kurmamız gerekiyor.</p><p>Fakat bundan önce yapmanız gereken küçük bir şey var. 1. Aşama kısmını tekrarlamamak için burada anlatmayacağım. Sizin de 1. aşamayı uygulayıp buraya öyle gelmenizi ve burayı okumanızı istiyorum. Fakat dikkat! Sitenizin portunu sizin değiştirmenize gerek yok. 80 Portunu boşta bırakın.</p><p>DNS Ayarlarını yaptıktan sonra buraya tekrardan dönebilirsiniz.</p><p><strong>Apache Kurulumu</strong></p><p>Peki nedir apache server? Muhtemelen bilmediğim birçok özelliği vardır fakat bizim şuanda bilmemiz gereken tek şu olabilir. Apache sizin ona belirttiğiniz portu dinler ve ona domain üzerinden gelen istekleri ayrıştırır ve farklı portlara yönlendirir. Örneğin 2000 portunda bir siteniz çalışıyor ve birde 5000 portunda siteniz var. 2000 portunda calısanın alan adı port1.com ikincisi port2.com eğer port1.com dan servera bir istek gelirse port1.com bu isteği çözümler ve onu sizin istediğiniz gibi 2000 portunda çalışan siteye yönlendirir. Diğerini ise 5000 portuna.</p><p>Şimdi ise pratiğe geçelim. İlk olarak yapmanız gereken xampp indirmek olacak. Şu site üzerinden indirin: <a href="https://www.apachefriends.org/">https://www.apachefriends.org/</a></p><p>Ardından gerekli kurulumu yaptıktan sonra karşınıza şöyle bir arayüz çıkacaktır. (Çıkmazsa arama kısmından xampp olarak aratıp arayüzü açabilirsiniz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*FooG7XVKnj3RHOAWda7kUg.png" /></figure><p>Gördüğünüz Apache kısmında starta basın. Otamatik olarak 80 portuna kuruludur. Bastıktan sonra</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*evnekIb8TIK6NGE-Bzrxkw.png" /></figure><p>işaretle gözüken kısma basınız ve klasöre girin. Oradan da Apache Klasörü altına</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*cP3rRviAW4OLns9L2yZiPQ.png" /></figure><p>ve onun içinden de conf klasörüne girin. İçerisinde httpd.conf dosyasını bulacaksınız. Dosyayı herhangi bir metin editörü ile açabilirsiniz.</p><p>İçini açın ve içerisini silip size aşağıda verdiğim kodu yapıştırın.</p><pre>#<br># This is the main Apache HTTP server configuration file.  It contains the<br># configuration directives that give the server its instructions.<br># See &lt;URL:http://httpd.apache.org/docs/2.4/&gt; for detailed information.<br># In particular, see <br># &lt;URL:http://httpd.apache.org/docs/2.4/mod/directives.html&gt;<br># for a discussion of each configuration directive.<br>#<br># Do NOT simply read the instructions in here without understanding<br># what they do.  They&#39;re here only as hints or reminders.  If you are unsure<br># consult the online docs. You have been warned.  <br>#<br># Configuration and logfile names: If the filenames you specify for many<br># of the server&#39;s control files begin with &quot;/&quot; (or &quot;drive:/&quot; for Win32), the<br># server will use that explicit path.  If the filenames do not begin<br># with &quot;/&quot;, the value of ServerRoot is prepended -- so &quot;logs/access_log&quot;<br># with ServerRoot set to &quot;/usr/local/apache2&quot; will be interpreted by the<br># server as &quot;/usr/local/apache2/logs/access_log&quot;, whereas &quot;/logs/access_log&quot; <br># will be interpreted as &#39;/logs/access_log&#39;.<br>#<br># NOTE: Where filenames are specified, you must use forward slashes<br># instead of backslashes (e.g., &quot;c:/apache&quot; instead of &quot;c:\apache&quot;).<br># If a drive letter is omitted, the drive on which httpd.exe is located<br># will be used by default.  It is recommended that you always supply<br># an explicit drive letter in absolute paths to avoid confusion.<br><br>#<br># ServerRoot: The top of the directory tree under which the server&#39;s<br># configuration, error, and log files are kept.<br>#<br># Do not add a slash at the end of the directory path.  If you point<br># ServerRoot at a non-local disk, be sure to specify a local disk on the<br># Mutex directive, if file-based mutexes are used.  If you wish to share the<br># same ServerRoot for multiple httpd daemons, you will need to change at<br># least PidFile.<br>#<br>Define SRVROOT &quot;C:/xampp/apache&quot;<br><br>ServerRoot &quot;C:/xampp/apache&quot;<br><br>#<br># Mutex: Allows you to set the mutex mechanism and mutex file directory<br># for individual mutexes, or change the global defaults<br>#<br># Uncomment and change the directory if mutexes are file-based and the default<br># mutex file directory is not on a local disk or is not appropriate for some<br># other reason.<br>#<br># Mutex default:logs<br><br>#<br># Listen: Allows you to bind Apache to specific IP addresses and/or<br># ports, instead of the default. See also the &lt;VirtualHost&gt;<br># directive.<br>#<br># Change this to Listen on specific IP addresses as shown below to <br># prevent Apache from glomming onto all bound IP addresses.<br>#<br>#Listen 12.34.56.78:80<br>Listen 80<br><br>#<br># Dynamic Shared Object (DSO) Support<br>#<br># To be able to use the functionality of a module which was built as a DSO you<br># have to place corresponding `LoadModule&#39; lines at this location so the<br># directives contained in it are actually available before they are used.<br># Statically compiled modules (those listed by `httpd -l&#39;) do not need<br># to be loaded here.<br>#<br># Example:<br># LoadModule foo_module modules/mod_foo.so<br>#<br>LoadModule access_compat_module modules/mod_access_compat.so<br>LoadModule actions_module modules/mod_actions.so<br>LoadModule alias_module modules/mod_alias.so<br>LoadModule allowmethods_module modules/mod_allowmethods.so<br>LoadModule asis_module modules/mod_asis.so<br>LoadModule auth_basic_module modules/mod_auth_basic.so<br>#LoadModule auth_digest_module modules/mod_auth_digest.so<br>#LoadModule auth_form_module modules/mod_auth_form.so<br>#LoadModule authn_anon_module modules/mod_authn_anon.so<br>LoadModule authn_core_module modules/mod_authn_core.so<br>#LoadModule authn_dbd_module modules/mod_authn_dbd.so<br>#LoadModule authn_dbm_module modules/mod_authn_dbm.so<br>LoadModule authn_file_module modules/mod_authn_file.so<br>#LoadModule authn_socache_module modules/mod_authn_socache.so<br>#LoadModule authnz_fcgi_module modules/mod_authnz_fcgi.so<br>#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so<br>LoadModule authz_core_module modules/mod_authz_core.so<br>#LoadModule authz_dbd_module modules/mod_authz_dbd.so<br>#LoadModule authz_dbm_module modules/mod_authz_dbm.so<br>LoadModule authz_groupfile_module modules/mod_authz_groupfile.so<br>LoadModule authz_host_module modules/mod_authz_host.so<br>#LoadModule authz_owner_module modules/mod_authz_owner.so<br>LoadModule authz_user_module modules/mod_authz_user.so<br>LoadModule autoindex_module modules/mod_autoindex.so<br>#LoadModule brotli_module modules/mod_brotli.so<br>#LoadModule buffer_module modules/mod_buffer.so<br>#LoadModule cache_module modules/mod_cache.so<br>#LoadModule cache_disk_module modules/mod_cache_disk.so<br>#LoadModule cache_socache_module modules/mod_cache_socache.so<br>#LoadModule cern_meta_module modules/mod_cern_meta.so<br>LoadModule cgi_module modules/mod_cgi.so<br>#LoadModule charset_lite_module modules/mod_charset_lite.so<br>#LoadModule data_module modules/mod_data.so<br>#LoadModule dav_module modules/mod_dav.so<br>#LoadModule dav_fs_module modules/mod_dav_fs.so<br>LoadModule dav_lock_module modules/mod_dav_lock.so<br>#LoadModule dbd_module modules/mod_dbd.so<br>#LoadModule deflate_module modules/mod_deflate.so<br>LoadModule dir_module modules/mod_dir.so<br>#LoadModule dumpio_module modules/mod_dumpio.so<br>LoadModule env_module modules/mod_env.so<br>#LoadModule expires_module modules/mod_expires.so<br>#LoadModule ext_filter_module modules/mod_ext_filter.so<br>#LoadModule file_cache_module modules/mod_file_cache.so<br>#LoadModule filter_module modules/mod_filter.so<br>#LoadModule http2_module modules/mod_http2.so<br>LoadModule headers_module modules/mod_headers.so<br>#LoadModule heartbeat_module modules/mod_heartbeat.so<br>#LoadModule heartmonitor_module modules/mod_heartmonitor.so<br>#LoadModule ident_module modules/mod_ident.so<br>#LoadModule imagemap_module modules/mod_imagemap.so<br>LoadModule include_module modules/mod_include.so<br>LoadModule info_module modules/mod_info.so<br>LoadModule isapi_module modules/mod_isapi.so<br>#LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so<br>#LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so<br>#LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so<br>#LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so<br>#LoadModule ldap_module modules/mod_ldap.so<br>#LoadModule logio_module modules/mod_logio.so<br>LoadModule log_config_module modules/mod_log_config.so<br>#LoadModule log_debug_module modules/mod_log_debug.so<br>#LoadModule log_forensic_module modules/mod_log_forensic.so<br>#LoadModule lua_module modules/mod_lua.so<br>LoadModule cache_disk_module modules/mod_cache_disk.so<br>#LoadModule macro_module modules/mod_macro.so<br>#LoadModule md_module modules/mod_md.so<br>LoadModule mime_module modules/mod_mime.so<br>#LoadModule mime_magic_module modules/mod_mime_magic.so<br>LoadModule negotiation_module modules/mod_negotiation.so<br>LoadModule proxy_module modules/mod_proxy.so<br>LoadModule proxy_ajp_module modules/mod_proxy_ajp.so<br>#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so<br>#LoadModule proxy_connect_module modules/mod_proxy_connect.so<br>#LoadModule proxy_express_module modules/mod_proxy_express.so<br>#LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so<br>#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so<br>#LoadModule proxy_hcheck_module modules/mod_proxy_hcheck.so<br>#LoadModule proxy_html_module modules/mod_proxy_html.so<br>LoadModule proxy_http_module modules/mod_proxy_http.so<br>LoadModule proxy_http2_module modules/mod_proxy_http2.so<br>#LoadModule proxy_scgi_module modules/mod_proxy_scgi.so<br>#LoadModule proxy_uwsgi_module modules/mod_proxy_uwsgi.so<br>#LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so<br>#LoadModule ratelimit_module modules/mod_ratelimit.so<br>#LoadModule reflector_module modules/mod_reflector.so<br>#LoadModule remoteip_module modules/mod_remoteip.so<br>#LoadModule request_module modules/mod_request.so<br>#LoadModule reqtimeout_module modules/mod_reqtimeout.so<br>LoadModule rewrite_module modules/mod_rewrite.so<br>#LoadModule sed_module modules/mod_sed.so<br>#LoadModule session_module modules/mod_session.so<br>#LoadModule session_cookie_module modules/mod_session_cookie.so<br>#LoadModule session_crypto_module modules/mod_session_crypto.so<br>#LoadModule session_dbd_module modules/mod_session_dbd.so<br>LoadModule setenvif_module modules/mod_setenvif.so<br>#LoadModule slotmem_plain_module modules/mod_slotmem_plain.so<br>#LoadModule slotmem_shm_module modules/mod_slotmem_shm.so<br>#LoadModule socache_dbm_module modules/mod_socache_dbm.so<br>#LoadModule socache_memcache_module modules/mod_socache_memcache.so<br>#LoadModule socache_redis_module modules/mod_socache_redis.so<br>LoadModule socache_shmcb_module modules/mod_socache_shmcb.so<br>#LoadModule speling_module modules/mod_speling.so<br>LoadModule ssl_module modules/mod_ssl.so<br>LoadModule status_module modules/mod_status.so<br>#LoadModule substitute_module modules/mod_substitute.so<br>#LoadModule unique_id_module modules/mod_unique_id.so<br>#LoadModule userdir_module modules/mod_userdir.so<br>#LoadModule usertrack_module modules/mod_usertrack.so<br>LoadModule version_module modules/mod_version.so<br>#LoadModule vhost_alias_module modules/mod_vhost_alias.so<br>#LoadModule watchdog_module modules/mod_watchdog.so<br>#LoadModule xml2enc_module modules/mod_xml2enc.so<br><br>&lt;IfModule unixd_module&gt;<br>#<br># If you wish httpd to run as a different user or group, you must run<br># httpd as root initially and it will switch.  <br>#<br># User/Group: The name (or #number) of the user/group to run httpd as.<br># It is usually good practice to create a dedicated user and group for<br># running httpd, as with most system services.<br>#<br>User daemon<br>Group daemon<br><br>&lt;/IfModule&gt;<br><br># &#39;Main&#39; server configuration<br>#<br># The directives in this section set up the values used by the &#39;main&#39;<br># server, which responds to any requests that aren&#39;t handled by a<br># &lt;VirtualHost&gt; definition.  These values also provide defaults for<br># any &lt;VirtualHost&gt; containers you may define later in the file.<br>#<br># All of these directives may appear inside &lt;VirtualHost&gt; containers,<br># in which case these default settings will be overridden for the<br># virtual host being defined.<br>#<br><br>#<br># ServerAdmin: Your address, where problems with the server should be<br># e-mailed.  This address appears on some server-generated pages, such<br># as error documents.  e.g. admin@your-domain.com<br>#<br>ServerAdmin postmaster@localhost<br><br>#<br># ServerName gives the name and port that the server uses to identify itself.<br># This can often be determined automatically, but we recommend you specify<br># it explicitly to prevent problems during startup.<br>#<br># If your host doesn&#39;t have a registered DNS name, enter its IP address here.<br>#<br>ServerName 93.177.101.90<br><br>#<br># Deny access to the entirety of your server&#39;s filesystem. You must<br># explicitly permit access to web content directories in other <br># &lt;Directory&gt; blocks below.<br>#<br>&lt;Directory /&gt;<br>    AllowOverride none<br>    Require all denied<br>&lt;/Directory&gt;<br><br>#<br># Note that from this point forward you must specifically allow<br># particular features to be enabled - so if something&#39;s not working as<br># you might expect, make sure that you have specifically enabled it<br># below.<br>#<br><br>#<br># DocumentRoot: The directory out of which you will serve your<br># documents. By default, all requests are taken from this directory, but<br># symbolic links and aliases may be used to point to other locations.<br>#<br>DocumentRoot &quot;C:/xampp/htdocs&quot;<br>&lt;Directory &quot;C:/xampp/htdocs&quot;&gt;<br>    #<br>    # Possible values for the Options directive are &quot;None&quot;, &quot;All&quot;,<br>    # or any combination of:<br>    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews<br>    #<br>    # Note that &quot;MultiViews&quot; must be named explicitly --- &quot;Options All&quot;<br>    # doesn&#39;t give it to you.<br>    #<br>    # The Options directive is both complicated and important.  Please see<br>    # http://httpd.apache.org/docs/2.4/mod/core.html#options<br>    # for more information.<br>    #<br>    Options Indexes FollowSymLinks Includes ExecCGI<br><br>    #<br>    # AllowOverride controls what directives may be placed in .htaccess files.<br>    # It can be &quot;All&quot;, &quot;None&quot;, or any combination of the keywords:<br>    #   AllowOverride FileInfo AuthConfig Limit<br>    #<br>    AllowOverride All<br><br>    #<br>    # Controls who can get stuff from this server.<br>    #<br>    Require all granted<br>&lt;/Directory&gt;<br><br>#<br># DirectoryIndex: sets the file that Apache will serve if a directory<br># is requested.<br>#<br>&lt;IfModule dir_module&gt;<br>    DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \<br>                   default.php default.pl default.cgi default.asp default.shtml default.html default.htm \<br>                   home.php home.pl home.cgi home.asp home.shtml home.html home.htm<br>&lt;/IfModule&gt;<br><br>#<br># The following lines prevent .htaccess and .htpasswd files from being <br># viewed by Web clients. <br>#<br>&lt;Files &quot;.ht*&quot;&gt;<br>    Require all denied<br>&lt;/Files&gt;<br><br>#<br># ErrorLog: The location of the error log file.<br># If you do not specify an ErrorLog directive within a &lt;VirtualHost&gt;<br># container, error messages relating to that virtual host will be<br># logged here.  If you do define an error logfile for a &lt;VirtualHost&gt;<br># container, that host&#39;s errors will be logged there and not here.<br>#<br>ErrorLog &quot;logs/error.log&quot;<br><br>#<br># LogLevel: Control the number of messages logged to the error_log.<br># Possible values include: debug, info, notice, warn, error, crit,<br># alert, emerg.<br>#<br>LogLevel warn<br><br>&lt;IfModule log_config_module&gt;<br>    #<br>    # The following directives define some format nicknames for use with<br>    # a CustomLog directive (see below).<br>    #<br>    LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot;&quot; combined<br>    LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b&quot; common<br><br>    &lt;IfModule logio_module&gt;<br>      # You need to enable mod_logio.c to use %I and %O<br>      LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot; %I %O&quot; combinedio<br>    &lt;/IfModule&gt;<br><br>    #<br>    # The location and format of the access logfile (Common Logfile Format).<br>    # If you do not define any access logfiles within a &lt;VirtualHost&gt;<br>    # container, they will be logged here.  Contrariwise, if you do<br>    # define per-&lt;VirtualHost&gt; access logfiles, transactions will be<br>    # logged therein and not in this file.<br>    #<br>    #CustomLog &quot;logs/access.log&quot; common<br><br>    #<br>    # If you prefer a logfile with access, agent, and referer information<br>    # (Combined Logfile Format) you can use the following directive.<br>    #<br>    CustomLog &quot;logs/access.log&quot; combined<br>&lt;/IfModule&gt;<br><br>&lt;IfModule alias_module&gt;<br>    #<br>    # Redirect: Allows you to tell clients about documents that used to <br>    # exist in your server&#39;s namespace, but do not anymore. The client <br>    # will make a new request for the document at its new location.<br>    # Example:<br>    # Redirect permanent /foo http://www.example.com/bar<br><br>    #<br>    # Alias: Maps web paths into filesystem paths and is used to<br>    # access content that does not live under the DocumentRoot.<br>    # Example:<br>    # Alias /webpath /full/filesystem/path<br>    #<br>    # If you include a trailing / on /webpath then the server will<br>    # require it to be present in the URL.  You will also likely<br>    # need to provide a &lt;Directory&gt; section to allow access to<br>    # the filesystem path.<br><br>    #<br>    # ScriptAlias: This controls which directories contain server scripts. <br>    # ScriptAliases are essentially the same as Aliases, except that<br>    # documents in the target directory are treated as applications and<br>    # run by the server when requested rather than as documents sent to the<br>    # client.  The same rules about trailing &quot;/&quot; apply to ScriptAlias<br>    # directives as to Alias.<br>    #<br>    ScriptAlias /cgi-bin/ &quot;C:/xampp/cgi-bin/&quot;<br><br>&lt;/IfModule&gt;<br><br>&lt;IfModule cgid_module&gt;<br>    #<br>    # ScriptSock: On threaded servers, designate the path to the UNIX<br>    # socket used to communicate with the CGI daemon of mod_cgid.<br>    #<br>    #Scriptsock cgisock<br>&lt;/IfModule&gt;<br><br>#<br># &quot;C:/xampp/cgi-bin&quot; should be changed to whatever your ScriptAliased<br># CGI directory exists, if you have that configured.<br>#<br>&lt;Directory &quot;C:/xampp/cgi-bin&quot;&gt;<br>    AllowOverride All<br>    Options None<br>    Require all granted<br>&lt;/Directory&gt;<br><br>&lt;IfModule headers_module&gt;<br>    #<br>    # Avoid passing HTTP_PROXY environment to CGI&#39;s on this or any proxied<br>    # backend servers which have lingering &quot;httpoxy&quot; defects.<br>    # &#39;Proxy&#39; request header is undefined by the IETF, not listed by IANA<br>    #<br>    RequestHeader unset Proxy early<br>&lt;/IfModule&gt;<br><br>&lt;IfModule mime_module&gt;<br>    #<br>    # TypesConfig points to the file containing the list of mappings from<br>    # filename extension to MIME-type.<br>    #<br>    TypesConfig conf/mime.types<br><br>    #<br>    # AddType allows you to add to or override the MIME configuration<br>    # file specified in TypesConfig for specific file types.<br>    #<br>    #AddType application/x-gzip .tgz<br>    #<br>    # AddEncoding allows you to have certain browsers uncompress<br>    # information on the fly. Note: Not all browsers support this.<br>    #<br>    #AddEncoding x-compress .Z<br>    #AddEncoding x-gzip .gz .tgz<br>    #<br>    # If the AddEncoding directives above are commented-out, then you<br>    # probably should define those extensions to indicate media types:<br>    #<br>    AddType application/x-compress .Z<br>    AddType application/x-gzip .gz .tgz<br><br>    #<br>    # AddHandler allows you to map certain file extensions to &quot;handlers&quot;:<br>    # actions unrelated to filetype. These can be either built into the server<br>    # or added with the Action directive (see below)<br>    #<br>    # To use CGI scripts outside of ScriptAliased directories:<br>    # (You will also need to add &quot;ExecCGI&quot; to the &quot;Options&quot; directive.)<br>    #<br>    AddHandler cgi-script .cgi .pl .asp<br><br>    # For type maps (negotiated resources):<br>    #AddHandler type-map var<br><br>    #<br>    # Filters allow you to process content before it is sent to the client.<br>    #<br>    # To parse .shtml files for server-side includes (SSI):<br>    # (You will also need to add &quot;Includes&quot; to the &quot;Options&quot; directive.)<br>    #<br>    AddType text/html .shtml<br>    AddOutputFilter INCLUDES .shtml<br>&lt;/IfModule&gt;<br><br>#<br># The mod_mime_magic module allows the server to use various hints from the<br># contents of the file itself to determine its type.  The MIMEMagicFile<br># directive tells the module where the hint definitions are located.<br>#<br>&lt;IfModule mime_magic_module&gt;<br>    #<br>    # The mod_mime_magic module allows the server to use various hints from the<br>    # contents of the file itself to determine its type.  The MIMEMagicFile<br>    # directive tells the module where the hint definitions are located.<br>    #<br>    MIMEMagicFile &quot;conf/magic&quot;<br>&lt;/IfModule&gt;<br><br><br>#<br># Customizable error responses come in three flavors:<br># 1) plain text 2) local redirects 3) external redirects<br>#<br># Some examples:<br>#ErrorDocument 500 &quot;The server made a boo boo.&quot;<br>#ErrorDocument 404 /missing.html<br>#ErrorDocument 404 &quot;/cgi-bin/missing_handler.pl&quot;<br>#ErrorDocument 402 http://www.example.com/subscription_info.html<br>#<br><br>#<br># MaxRanges: Maximum number of Ranges in a request before<br># returning the entire resource, or one of the special<br># values &#39;default&#39;, &#39;none&#39; or &#39;unlimited&#39;.<br># Default setting is to accept 200 Ranges.<br>#MaxRanges unlimited<br><br>#<br># EnableMMAP and EnableSendfile: On systems that support it, <br># memory-mapping or the sendfile syscall may be used to deliver<br># files.  This usually improves server performance, but must<br># be turned off when serving from networked-mounted <br># filesystems or if support for these functions is otherwise<br># broken on your system.<br># Defaults: EnableMMAP On, EnableSendfile Off<br>#<br>#EnableMMAP off<br>#EnableSendfile off<br><br># Supplemental configuration<br>#<br># The configuration files in the conf/extra/ directory can be <br># included to add extra features or to modify the default configuration of <br># the server, or you may simply copy their contents here and change as <br># necessary.<br><br># Server-pool management (MPM specific)<br>Include conf/extra/httpd-mpm.conf<br><br># Multi-language error messages<br>#Include conf/extra/httpd-multilang-errordoc.conf<br><br># Fancy directory listings<br>Include conf/extra/httpd-autoindex.conf<br><br># Language settings<br>Include conf/extra/httpd-languages.conf<br><br># User home directories<br>Include conf/extra/httpd-userdir.conf<br><br># Real-time info on requests and configuration<br>Include conf/extra/httpd-info.conf<br><br># Virtual hosts<br>Include conf/extra/httpd-vhosts.conf<br><br># Local access to the Apache HTTP Server Manual<br>#Include conf/extra/httpd-manual.conf<br><br># Distributed authoring and versioning (WebDAV)<br>#Attention! WEB_DAV is a security risk without a new userspecific configuration for a secure authentifcation <br>#Include conf/extra/httpd-dav.conf<br><br># Various default settings<br>#Include conf/extra/httpd-default.conf<br># Implements a proxy/gateway for Apache.<br>Include &quot;conf/extra/httpd-proxy.conf&quot;<br># Various default settings<br>Include &quot;conf/extra/httpd-default.conf&quot;<br># XAMPP settings<br>Include &quot;conf/extra/httpd-xampp.conf&quot;<br><br># Configure mod_proxy_html to understand HTML4/XHTML1<br>&lt;IfModule proxy_html_module&gt;<br>Include conf/extra/proxy-html.conf<br>&lt;/IfModule&gt;<br><br># Secure (SSL/TLS) connections<br>Include conf/extra/httpd-ssl.conf<br>#<br># Note: The following must must be present to support<br>#       starting without SSL on platforms with no /dev/random equivalent<br>#       but a statically compiled-in mod_ssl.<br>#<br>&lt;IfModule ssl_module&gt;<br>SSLRandomSeed startup builtin<br>SSLRandomSeed connect builtin<br>&lt;/IfModule&gt;<br><br>AcceptFilter http none<br>AcceptFilter https none<br># AJP13 Proxy<br>&lt;IfModule mod_proxy.c&gt;<br>&lt;IfModule mod_proxy_ajp.c&gt;<br>Include &quot;conf/extra/httpd-ajp.conf&quot;<br>&lt;/IfModule&gt;<br>&lt;/IfModule&gt;<br><br><br>&lt;VirtualHost *:80&gt;<br>    ServerName karatasweb.com.tr<br><br>    ProxyPass / http://93.177.101.90:5000/<br>    ProxyPassReverse / http://93.177.101.90:5000/<br>&lt;/VirtualHost&gt;<br><br>&lt;VirtualHost *:80&gt;<br>    ServerName iletkenhizliokuma.com<br><br>    ProxyPass / http://93.177.101.90:3000/<br>    ProxyPassReverse / http://93.177.101.90:3000/<br>&lt;/VirtualHost&gt;</pre><p>Aslında içerisinde birkaç küçük değişiklik yaptık fakat tek tek açıklamak biraz zaman alabilir. Dikkat ederseniz kodun en altında VirtualHost denilen iki farklı kısım var. Buraların içerisindeki ServerName kısımlarına “ eklemeden sitelerinizin alan adlarını girin örneğin burhankaratas.com.tr gibi başına http vs eklemeyin. Ardından proxypass ve proxypassreverse kısımlarına da kendi ip adresinizi ve o site hangi porta yönlendirilecekse o portu girin.</p><p>Kodun biraz yukarısına çıktığımızda şöyle bir yer göreceksiniz:</p><pre>SunucuAdı 93.177.101.90</pre><p>Bu kısımda yukarıdaki ip adresi yerine kendi ip adresinizi girin. Ardından dosyayı kaydedip çıkabilirsiniz. Artık tek yapmanız gereken arkanıza yaslanmak ve şaheserinize bakmaktır :)</p><h3>Bitiş</h3><p>Belki de gerçekten zahmetli bir yol fakat bu yolla sadece flask değil, herhangi bir dille geliştirdiğiniz web sitesini rahatlıkla yayımlayabilirsiniz.</p><p>Uzun lafı özetlememiz gerekirse. Yaptığımız kısaca şu adımlardan oluşuyor:</p><ol><li>VDS Kirala,</li><li>VDS’e siteni yükle ve siteni çalıştır</li><li>VDS üzerinden portu tüm dünyaya aç</li><li>Domaininin DNS ayarlarını yap</li><li>Eğer tek site yayımlıyorsan siteni 80 portunda yayımla</li><li>Çok site yayımlıyorsan Apache Server gibi bir alternatif kullan</li></ol><p>Bu adımları sırası ile araştırarak bir sonuca ulaşabileceğinize eminim. Yapamayan ve biyerde hata alanlar bana istedikleri gibi instagram üzerinden yazabilirler. Elimden geldiği kadar yardımcı olmaya çalışırım.</p><p>Ayırca yazıyı tek seferde yazdım belki hata yapmış olabilirim yada düzgün açıklayamamış olabilirim. Eğer doğru uygulamanıza rağmen bir hata alıyorsanız bana lütfen bildirin.</p><p><em>Ig: burhannkaratas</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eoVdd7gjO2QFVe1b" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f12d486f72e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>