NameVirtualHost after do this hat follow setting? DNS or oth

Problems with the Windows version of XAMPP, questions, comments, and anything related.

NameVirtualHost after do this hat follow setting? DNS or oth

Postby lse123 » 29. July 2014 13:36

httpd-vhosts.conf
Code: Select all
NameVirtualHost *:80

<VirtualHost *:80>
    ServerAdmin sssssss@ssss.com.cy
    DocumentRoot "C:/xampp/htdocs"
    ServerName www.lse-my-videos.com
    ServerAlias www.lse-my-videos.com
    ErrorLog "logs/lse-my-videos.com.localhost-error.log"
    CustomLog "logs/lse-my-videos.com.localhost-access.log" combined
</VirtualHost>


after do this what setting follows? DNS or other and where (in which file)???

<IP> http://www.lse-my-videos.com // where?

these have to exist - where - full uri?
ErrorLog "logs/lse-my-videos.com.localhost-error.log"
CustomLog "logs/lse-my-videos.com.localhost-access.log" combined
Leonidas Euripide Savvides
lse123
 
Posts: 128
Joined: 15. November 2008 13:49
Location: Polis, Paphos
XAMPP Version: 1.8.3-3
Operating System: vista 64 ultimate

Re: NameVirtualHost after do this hat follow setting? DNS or

Postby Nobbie » 30. July 2014 14:22

lse123 wrote:after do this what setting follows? DNS or other and where (in which file)???


In the hosts file of Windows: http://en.wikipedia.org/wiki/Hosts_(file)

If the Domain should be known wordwide, you need a provider which sets up a DNS Server including your domain name.
Nobbie
 
Posts: 6770
Joined: 09. March 2008 13:04

Re: NameVirtualHost after do this hat follow setting? DNS or

Postby lse123 » 30. July 2014 15:54

CORRECT YOUR URL ")" not included in hyperlink... last char - click it to see
I found here
C:\Windows\System32\drivers\etc

you mean is general windows file - that XAMPP Use?

I want domain ONLY in LAN/WLAN not outside local home network...
so can have
192.168.10.10 www.lse-my-videos.com
(192.168.10.10 = my current local IP)

C:\Users\User>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : lan
Link-local IPv6 Address . . . . . : **********
IPv4 Address. . . . . . . . . . . : 192.168.10.10
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : **********
Leonidas Euripide Savvides
lse123
 
Posts: 128
Joined: 15. November 2008 13:49
Location: Polis, Paphos
XAMPP Version: 1.8.3-3
Operating System: vista 64 ultimate

Re: NameVirtualHost after do this hat follow setting? DNS or

Postby Nobbie » 30. July 2014 22:28

lse123 wrote:CORRECT YOUR URL ")" not included in hyperlink


Thats an error in this forum script, i simply copied the working URL to here.

lse123 wrote:you mean is general windows file - that XAMPP Use?


Xampp ist nothing, there is no "Xampp USE", Domains and URLs are not Xampp specific.

lse123 wrote:192.168.10.10 http://www.lse-my-videos.com


This is badly wrong, if you look into hosts file, you will not find any "http://", but only domain names. Without leading protocoll.

You have to adapt this domain into every(!) host file of every(!) PC in your LAN which should reach that domain.
Nobbie
 
Posts: 6770
Joined: 09. March 2008 13:04

Re: NameVirtualHost after do this hat follow setting? DNS or

Postby lse123 » 05. August 2014 20:54

IN THE INTENT to reach that domain from Mobile device, what must do? can do this at all in Android or iPad?
Leonidas Euripide Savvides
lse123
 
Posts: 128
Joined: 15. November 2008 13:49
Location: Polis, Paphos
XAMPP Version: 1.8.3-3
Operating System: vista 64 ultimate

Re: NameVirtualHost after do this hat follow setting? DNS or

Postby lse123 » 17. August 2014 19:28

I have below but this works http://192.168.10.8/VIDEO/ the domain Not... well? needed other setting - i restarted xampp(win 7)

C:\Windows\System32\drivers\etc\hosts
192.168.10.8 http://www.lse-my-videos.com

C:\xampp\apache\conf\extra\httpd-vhosts.conf
NameVirtualHost *:60000

<VirtualHost *:60000>
ServerAdmin ttttt@cytanet.com.cy
DocumentRoot "C:/xampp/htdocs/VIDEO"
ServerName http://www.lse-my-videos.com
ServerAlias http://www.lse-my-videos.com

</VirtualHost>
Leonidas Euripide Savvides
lse123
 
Posts: 128
Joined: 15. November 2008 13:49
Location: Polis, Paphos
XAMPP Version: 1.8.3-3
Operating System: vista 64 ultimate

Re: NameVirtualHost after do this hat follow setting? DNS or

Postby lse123 » 17. August 2014 19:40

Code: Select all
NameVirtualHost 192.168.10.8:80

<VirtualHost 192.168.10.8:80>
    ServerAdmin ttttt@cytanet.com.cy
    DocumentRoot "C:/xampp/htdocs/VIDEO"
    ServerName www.lse-my-videos.com
    ServerAlias www.lse-my-videos.com
    <Directory C:/xampp/htdocs/VIDEO>
   Allow from all
    </Directory>
</VirtualHost>


worked but work like C:/xampp/htdocs/ domain point to root not to VIDEO.... CAN POINT IN A SUB-FOLDER?

another matter : is any way run www.lse-my-videos.com on mobile device???
Leonidas Euripide Savvides
lse123
 
Posts: 128
Joined: 15. November 2008 13:49
Location: Polis, Paphos
XAMPP Version: 1.8.3-3
Operating System: vista 64 ultimate

Re: NameVirtualHost after do this hat follow setting? DNS or

Postby jammy » 19. August 2014 18:15

lse123 wrote:
Code: Select all
NameVirtualHost 192.168.10.8:80

<VirtualHost 192.168.10.8:80>
    ServerAdmin ttttt@cytanet.com.cy
    DocumentRoot "C:/xampp/htdocs/VIDEO"
    ServerName www.lse-my-videos.com
    ServerAlias www.lse-my-videos.com
    <Directory C:/xampp/htdocs/VIDEO>
   Allow from all
    </Directory>
</VirtualHost>


worked but work like C:/xampp/htdocs/ domain point to root not to VIDEO.... CAN POINT IN A SUB-FOLDER?

another matter : is any way run http://www.lse-my-videos.com on mobile device???


Perhaps googling "How to become a webhost" or "Host website from home" would do you better
jammy
 
Posts: 2
Joined: 19. August 2014 17:30
XAMPP Version: 5.5.19
Operating System: windows

Re: NameVirtualHost after do this hat follow setting? DNS or

Postby lse123 » 20. August 2014 10:43

may by anyway this local WLAN domain work on iOS or Android or WP8 mobile devices?

WLAN IP 192.168.10.8 worked in the past i think - access XAMPP - from mobiles wireless devices, but now not work... I have to have two IPs one for access point wifi WLAN and one for LAN ethernet? Although my mobile devices get wifi i have only one connection - access point not shown in Network Connections win 7...
Leonidas Euripide Savvides
lse123
 
Posts: 128
Joined: 15. November 2008 13:49
Location: Polis, Paphos
XAMPP Version: 1.8.3-3
Operating System: vista 64 ultimate

Re: NameVirtualHost after do this hat follow setting? DNS or

Postby Nobbie » 20. August 2014 15:58

Sorry, but is to hard to understand what you mean.
Nobbie
 
Posts: 6770
Joined: 09. March 2008 13:04

Re: NameVirtualHost after do this hat follow setting? DNS or

Postby lse123 » 20. August 2014 20:23

I MEAN
i can not access XAMPP htdocs html files using IP (access point) from WLAN devices - only ethernet IP appears after ipconfig in CLI....
how access XAMPP files from Mobile Devices on WLAN?

http://192.168.10.8/OOJS/index.html this works in pc but not on mobile


C:\Users\User>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : lan
Link-local IPv6 Address . . . . . : iiiiiii
IPv4 Address. . . . . . . . . . . : 192.168.10.8 // THIS IS ETHERNET WHERE WIFI IP
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.10.254

Ethernet adapter VMware Network Adapter VMnet1:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fffff
Autoconfiguration IPv4 Address. . : ffff
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fjjjjj
IPv4 Address. . . . . . . . . . . : 192.168.40.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Leonidas Euripide Savvides
lse123
 
Posts: 128
Joined: 15. November 2008 13:49
Location: Polis, Paphos
XAMPP Version: 1.8.3-3
Operating System: vista 64 ultimate

Re: NameVirtualHost after do this hat follow setting? DNS or

Postby Nobbie » 20. August 2014 22:03

lse123 wrote:I MEAN
i can not access XAMPP htdocs html files using IP (access point) from WLAN devices - only ethernet IP appears after ipconfig in CLI....


Of course the Xampp Server is NOT connected via Wifi, it is ONLY connected via LAN.

THIS IS ETHERNET WHERE WIFI IP


NO!!!! This is NOT WIFI!!! This is LAN ONLY!!! Via CABLE. NOT WIRELESS. You understand?

lse123 wrote:how access XAMPP files from Mobile Devices on WLAN?

http://192.168.10.8/OOJS/index.html this works in pc but not on mobile


What is the Wifi IP of your Mobile Device in your WLAN?
Nobbie
 
Posts: 6770
Joined: 09. March 2008 13:04

Re: NameVirtualHost after do this hat follow setting? DNS or

Postby lse123 » 21. August 2014 08:07

You say "What is the Wifi IP of your Mobile Device in your WLAN?"

How find? internet gateway site lists many androids in my WLAN... eg is 192.168.10.23 then what?

I think prior 1mo or so i could access from mobile... via WLAN.

PLEASE SEE THE VIDEO HERE:
http://windows.microsoft.com/en-us/wind ... =windows-7

HAS BOTH LAN AND WLAN CONNECTIONS IN NETWORK CONNECTIONS , AND FINDS IP FOR WLAN.

Well why me only LAN IN NETWORK CONNECTIONS not WLAN?
Leonidas Euripide Savvides
lse123
 
Posts: 128
Joined: 15. November 2008 13:49
Location: Polis, Paphos
XAMPP Version: 1.8.3-3
Operating System: vista 64 ultimate

Re: NameVirtualHost after do this hat follow setting? DNS or

Postby Nobbie » 21. August 2014 09:31

lse123 wrote:You say "What is the Wifi IP of your Mobile Device in your WLAN?"

How find? internet gateway site lists many androids in my WLAN... eg is 192.168.10.23 then what?


Look into Network Setup of your Android Smartphone/Tablet.
Nobbie
 
Posts: 6770
Joined: 09. March 2008 13:04

Re: NameVirtualHost after do this hat follow setting? DNS or

Postby lse123 » 21. August 2014 10:31

you mean i had to use this address NOT the WLAN (ACCESS POINT) ADDRESS? i THINK SINCE HTML PAGE IS IN PC I MUST USE WLAN NOT ANDROID TABLET...IP.
Leonidas Euripide Savvides
lse123
 
Posts: 128
Joined: 15. November 2008 13:49
Location: Polis, Paphos
XAMPP Version: 1.8.3-3
Operating System: vista 64 ultimate

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: Altrea, mark.mcdonald and 70 guests