473,406 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Apache problem/question

Hello guys i have a question about apache... i have installed Apache
2.0.54 PHP 5 MySQL 4.01 and i was wondering if i could use a name to
access my apache server -> not to use http://localhost but to use
example1.com? i have tried to adjust the vhost section acording to the
guide in the apache web page, but when i try i get error 404. also
when i try http://localhost i also get 404. i've attached my .conf
file.
i want to access my server not only from my local network but from
elsewhere as well.
i have one more small problem... when i installed and loaded some
moduls for PHP /i have loaded 5 modules/ 2 of the moduls doesnt seem
to work ->php_mcrypt.dll, php_pdf.dll. The first one is in the
directory for /php/ext/ for shure, but the otherone is not on my
comp... i was wondering if one is missing, ok, but the other i there
and i get "PHP Startup: Unable to load dynamic library
"f:\apache\php\ext\php_mcrypt.dll" - The specified modul could not be
found." - this is for the both modules...
should i install Apache 1.3.x?
any suggestions to a newb
thx in advance
ps. i've read some of the topics but i couldent find a solution ...

and here are my comp conf:
WindowsXP Pro SP2, CPU 400MHz
Internet over LAN, using PPPoE connection
2 comps in local network
one more thing i've changed my ip for the vhost to 212.116.140.79, and
now whe i type that ip it shows me something like windows explorer...

i see the test page from the other computers on the net, when i type
212.116.140.79 /my PPPoE ip/ i get :


this is when i created a folder for amidamaro.com,
no i didnt purchased the domain

my question is : i have an apache server, i want to assign a name
adress to it /for examp amidamaro.com/, other users, not only user
from my local net to be able to access it. is there some guide how to
do that?

now i've set up the server to ip http://212.116.140.79 u should be
able to see it. there r some pics
Jul 17 '05 #1
2 2086
>Hello guys i have a question about apache... i have installed Apache
2.0.54 PHP 5 MySQL 4.01 and i was wondering if i could use a name to
access my apache server -> not to use http://localhost but to use
example1.com? i have tried to adjust the vhost section acording to the
guide in the apache web page, but when i try i get error 404. also
when i try http://localhost i also get 404. i've attached my .conf
file. i want to access my server not only from my local network but from
elsewhere as well.
For that you need a real domain name with real DNS hosting, unless
you're content to use an IP address. You also need a real public
IP, which you don't have if you're behind a NAT gateway.

Entries in the hosts file on your computer take effect only for
your computer. You could, for example, add an entry for www.microsoft.com
that points to your computer. That means you won't be able to reach
the real www.microsoft.com, though.
i have one more small problem... when i installed and loaded some
moduls for PHP /i have loaded 5 modules/ 2 of the moduls doesnt seem
to work ->php_mcrypt.dll, php_pdf.dll. The first one is in the
directory for /php/ext/ for shure, but the otherone is not on my
comp...
You installed it but it's not on your computer? Where did you
install it?
i was wondering if one is missing, ok, but the other i there
and i get "PHP Startup: Unable to load dynamic library
"f:\apache\php\ext\php_mcrypt.dll" - The specified modul could not be
found." - this is for the both modules...
should i install Apache 1.3.x?
any suggestions to a newb
thx in advance
ps. i've read some of the topics but i couldent find a solution ...

and here are my comp conf:
WindowsXP Pro SP2, CPU 400MHz
Internet over LAN, using PPPoE connection
2 comps in local network
one more thing i've changed my ip for the vhost to 212.116.140.79, and
now whe i type that ip it shows me something like windows explorer...

i see the test page from the other computers on the net, when i type
212.116.140.79 /my PPPoE ip/ i get :


this is when i created a folder for amidamaro.com,
no i didnt purchased the domain

my question is : i have an apache server, i want to assign a name
adress to it /for examp amidamaro.com/, other users, not only user
from my local net to be able to access it. is there some guide how to
do that?
It's called purchasing a domain, and setting up DNS hosting.
Most companies where you can purchase a domain will also do DNS
hosting if you want them to. You do have to tell them the IP
address which the name will point at.

You also need to properly set up the vhost on Apache.
now i've set up the server to ip http://212.116.140.79 u should be
able to see it. there r some pics


If you want a prettier front page, rather than an index of files,
create a page index.html (or, if you've got Apache set up right,
index.php) which will appear instead of the file index page. You
then need to have links on that page to the other content on
your site.

Gordon L. Burditt
Jul 17 '05 #2
On 2005-07-12, TrashOverride <si***@abv.bg> wrote:
Hello guys i have a question about apache... i have installed Apache
2.0.54 PHP 5 MySQL 4.01 and i was wondering if i could use a name to
access my apache server -> not to use http://localhost but to use
example1.com? i have tried to adjust the vhost section acording to the
guide in the apache web page, but when i try i get error 404. also
when i try http://localhost i also get 404. i've attached my .conf
file.


First you need to make sure example.com resolves to your host.

C:\WINDOWS\system32\drivers\etc\hosts

127.0.0.1 localhost example.com

Offcourse, you need to edit your DNS server configuration if you
want other people to use it too...

Next you need to edit your httpd.conf

NameVirtualhost *:80

<VirtualHost *:80>
ServerName localhost
DocumentRoot "F:/websites/localhost"
<Directory "F:/websites/localhost">
AllowOverride All
Options All
</Directory>
</Virtualhost>

<VirtualHost *:80>
ServerName example.com
DocumentRoot "F:/websites/example.com"
<Directory "F:/websites/example.com">
AllowOverride All
Options All
</Directory>
</Virtualhost>

--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mike | last post by:
Hi, I have an architectural type question that centers around php. We have a website that people hit that uses php to dynamically generate web pages. We use Apache and php (although we don't have...
0
by: dave | last post by:
Hello, I'm really hoping someone can help here, i am very frustrated on this issue. If this were my linux box i'd commit myself for insanity, this setup is so frustrating! Ok, done rambling,...
3
by: B Squared | last post by:
I've having a problem getting PHP to work with Apache. I've just installed Apache and on a Fedora core3 system. The installs were pretty painless, just as expected. Then I pointed to a simple web...
19
by: Alex Madon | last post by:
Hello, I am testing a web application (using the DBX PHP function to call a Postgresql backend). I have 375Mb RAM on my test home box. I ran ab (apache benchmark) to test the behaviour of the...
3
by: Froggy / Froggy Corp. | last post by:
Thx for your quick answer too :) Richard Huxton wrote: > > On Wednesday 18 February 2004 20:18, Froggy / Froggy Corp. wrote: > > Hello, > > > > I asked one time for more "benchmark"...
2
by: Wolter Kamphuis | last post by:
Hi all, I've got a question, not really about PHP but this is the best audience. Is anybody aware of problems with Internet Explorer not sending any get/post/cookie data? I'm the webmaster of...
5
by: voronwae | last post by:
Hi folks. Either I'm missing something really obvious (most likely) or I'm missing something really subtle. I've been building up a machine as an IMP webmail server, with php 5.1.2, cyrus-sasl,...
0
rsrinivasan
by: rsrinivasan | last post by:
Hi All, When i run my JSP program, ihave the following exception. How i solve this problem? HTTP Status 500 - ...
2
by: paulysa | last post by:
Hi there. I am experimenting with Apache/MySQL/PHP to set up a contact list. Background Am a bit of a dabbler. Downloaded MySQL 5.0.67 for windows and Apache 2.2.9 with OpenSSL-0.9.8h-r2 and PHP...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.