<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux &#8211; BKaushik Blog</title>
	<atom:link href="https://bkaushik.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://bkaushik.com</link>
	<description>Code. Build. Learn. Share.</description>
	<lastBuildDate>Mon, 26 May 2025 05:58:04 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>Setup Apache Virtual Host on Ubuntu Server</title>
		<link>https://bkaushik.com/linux/setup-apache-virtual-host-on-ubuntu-server/</link>
		
		<dc:creator><![CDATA[Bikash]]></dc:creator>
		<pubDate>Thu, 03 Apr 2025 15:32:39 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[virtual-host]]></category>
		<guid isPermaLink="false">https://bkaushik.com/?p=40</guid>

					<description><![CDATA[In this post I will show you through setting up website using virtual hosts on Ubuntu server. Before we begin, you need to have Apache installed in order to work through these steps. 1. sudo apt-get update 2. sudo mkdir -p /var/www/coolexample.local/public_html 3. sudo chown -R orange:orange /var/www/coolexample.local/public_html 4. sudo chmod -R 755 /var/www/coolexample.local/public_html 5....]]></description>
										<content:encoded><![CDATA[<p>In this post I will show you through setting up website using virtual hosts on Ubuntu server.</p>
<p>Before we begin, you need to have Apache installed in order to work through these steps.</p>
<p><strong>1.</strong> sudo apt-get update<br />
<strong>2.</strong> sudo mkdir -p /var/www/coolexample.local/public_html<br />
<strong>3.</strong> sudo chown -R orange:orange /var/www/coolexample.local/public_html<br />
<strong>4.</strong> sudo chmod -R 755 /var/www/coolexample.local/public_html<br />
<strong>5.</strong> sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/coolexample.local.conf<br />
<strong>6.</strong> sudo vim /etc/apache2/sites-available/coolexample.local.conf<br />
DocumentRoot /var/www/coolexample.local/public_html<br />
ServerName www.coolexample.local<br />
ServerAlias coolexample.local<br />
:wq<br />
<strong>7.</strong> sudo a2ensite coolexample.local.conf<br />
<strong>8.</strong> sudo service apache2 restart<br />
<strong>9.</strong> sudo vim /etc/hosts<br />
127.0.0.1 coolexample.local<br />
:wq</p>
<p><strong>Note:</strong> For index.php url issue add below lines in /etc/apache2/sites-available/coolexample.local.conf just after DocumentRoot<br />
&lt;Directory /var/www/&gt;<br />
AllowOverride All<br />
&lt;/Directory&gt;</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
